diff --git a/.github/release-targets.yaml b/.github/release-targets.yaml new file mode 100644 index 000000000..1405a4392 --- /dev/null +++ b/.github/release-targets.yaml @@ -0,0 +1,3 @@ +major: "11.0.0" +minor: "10.2.0" +bug_fix: "10.1.0" \ No newline at end of file diff --git a/.github/workflows/cmake.yaml b/.github/workflows/cmake.yaml index 2b3512644..c6903502b 100644 --- a/.github/workflows/cmake.yaml +++ b/.github/workflows/cmake.yaml @@ -1,7 +1,7 @@ name: Native CMake Build on: [push, pull_request, workflow_dispatch] - + env: # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) BUILD_TYPE: Debug diff --git a/.github/workflows/conda_library.yaml b/.github/workflows/conda_library.yaml index 1086021c7..58a504bd6 100644 --- a/.github/workflows/conda_library.yaml +++ b/.github/workflows/conda_library.yaml @@ -1,7 +1,7 @@ name: Build slsdetlib on: [pull_request] - + jobs: build: strategy: diff --git a/.github/workflows/conda_python.yaml b/.github/workflows/conda_python.yaml index 18d18e62e..d95d430b8 100644 --- a/.github/workflows/conda_python.yaml +++ b/.github/workflows/conda_python.yaml @@ -1,7 +1,7 @@ name: slsdet on: [pull_request] - + jobs: build: strategy: diff --git a/.github/workflows/pr_detector_labels.yaml b/.github/workflows/pr_detector_labels.yaml new file mode 100644 index 000000000..06261dffb --- /dev/null +++ b/.github/workflows/pr_detector_labels.yaml @@ -0,0 +1,260 @@ +# This reusable workflow detects detector labels for pull requests. This workflow is ignored for Infrastructure Prs. It checks whole word matching of detector names in server folders, changed code and PR title/description. If a detector is detected, the corresponding label is added to the PR. Existing labels are left untouched. Detector labels are never removed automatically. + +name: PR Detector Labels + +on: + workflow_call: + inputs: + pr_number: + required: true + type: number + +permissions: + pull-requests: write + issues: read + +jobs: + detector-labels: + name: Detect detector labels + runs-on: ubuntu-latest + + steps: + - name: Detect detector labels + uses: actions/github-script@v8 + with: + script: | + const prNumber = ${{ inputs.pr_number }}; + + /* + * Get the current PR labels. + */ + const { data: currentLabels } = + await github.rest.issues.listLabelsOnIssue({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: prNumber + }); + + const currentLabelNames = + currentLabels.map(label => label.name); + + if (currentLabelNames.includes('Infrastructure')) { + core.info( + 'Infrastructure label found. Skipping detector label detection.' + ); + return; + } + + core.info( + `Infrastructure label not found. Proceeding with detector label detection.` + ); + + /* + * Known detector labels. + */ + const detectorLabels = [ + 'Ctb', + 'Eiger', + 'Moench', + 'Mythen3', + 'Jungfrau', + 'Gotthard2', + 'Matterhorn', + 'Xilinx_ctb' + ]; + + + /* + * Check whether a detector name appears as a + * complete word, case-insensitively. + */ + function containsDetector(text, detector) { + const regex = new RegExp( + `\\b${detector}\\b`, + 'i' + ); + + return regex.test(text); + } + + /* + * Detectors detected by any detection method. + */ + const detectedDetectors = new Set(); + + /* + * -------------------------------------------------- + * 1. Get all files changed by the PR + * -------------------------------------------------- + */ + const files = await github.paginate( + github.rest.pulls.listFiles, + { + owner: context.repo.owner, + repo: context.repo.repo, + pull_number: prNumber, + per_page: 100 + } + ); + + core.info( + `Found ${files.length} changed files.` + ); + + /* + * -------------------------------------------------- + * 2. Detect detector from changed files + * -------------------------------------------------- + * + * We inspect each file once and short-circuit as soon + * as a detector-server folder confirms a label. That + * avoids scanning the same detector folder again and + * avoids checking the rest of the file for unrelated + * detector names. + * + * Examples: + * + * slsDetectorServers/eigerDetectorServer/... + * ↓ + * Eiger + * + * slsDetectorServers/xilinx_ctbDetectorServer/... + * ↓ + * Xilinx_ctb + */ + const ignoredDetectorServerFolders = new Set(); + + for (const file of files) { + const serverMatch = file.filename.match( + /^slsDetectorServers\/([^/]+)DetectorServer\// + ); + + if (serverMatch) { + const detectorFolder = serverMatch[0]; + + // Skip all later files under a detected detector folder. + if (ignoredDetectorServerFolders.has(detectorFolder)) { + core.info( + `Skipping file in ignored detector-server folder: ${file.filename}` + ); + continue; + } + + const detectorName = serverMatch[1]; + + /* + * Remove "DetectorServer" and capitalize + * the first character. + */ + const detector = + detectorName.charAt(0).toUpperCase() + + detectorName.slice(1); + + if (detectorLabels.includes(detector)) { + detectedDetectors.add(detector); + + core.info( + `Detected ${detector} from detector-server path: ${file.filename}` + ); + + // Once a detector is confirmed from the server folder, + // do not inspect this file or the rest of that folder. + ignoredDetectorServerFolders.add(detectorFolder); + continue; + } + } + + // Only inspect the PR patch, never the full file. + if (!file.patch) { + continue; + } + + for (const detector of detectorLabels) { + if ( + containsDetector( + file.patch, + detector + ) + ) { + detectedDetectors.add(detector); + + core.info( + `Detected ${detector} in changed code: ${file.filename}` + ); + } + } + } + + /* + * -------------------------------------------------- + * 3. Detect detector from PR title/description + * -------------------------------------------------- + */ + + const { data: pr } = + await github.rest.pulls.get({ + owner: context.repo.owner, + repo: context.repo.repo, + pull_number: prNumber + }); + + const prText = [ + pr.title || '', + pr.body || '' + ].join('\n'); + + for (const detector of detectorLabels) { + if ( + containsDetector( + prText, + detector + ) + ) { + detectedDetectors.add(detector); + + core.info( + `Detected ${detector} in PR title or description.` + ); + } + } + + /* + * -------------------------------------------------- + * 5. Add detected detector labels + * -------------------------------------------------- + * + * Existing labels are left untouched. + * + * Detector labels are NEVER removed automatically. + */ + for (const detector of detectedDetectors) { + if (!currentLabelNames.includes(detector)) { + await github.rest.issues.addLabels({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: prNumber, + labels: [detector] + }); + + core.info( + `Added detector label: ${detector}` + ); + } else { + core.info( + `Detector label already exists: ${detector}` + ); + } + } + + /* + * -------------------------------------------------- + * 6. Summary + * -------------------------------------------------- + */ + core.info( + `Detected detectors: ${ + detectedDetectors.size > 0 + ? [...detectedDetectors].join(', ') + : 'none' + }` + ); \ No newline at end of file diff --git a/.github/workflows/pr_edit_trigger.yaml b/.github/workflows/pr_edit_trigger.yaml new file mode 100644 index 000000000..9a344cf35 --- /dev/null +++ b/.github/workflows/pr_edit_trigger.yaml @@ -0,0 +1,210 @@ +# This workflow is triggered when opening/reopening PR, editing the PR description or changing labels. It ignores unrelated label changes. It runs PR type validation and if it succeeds, it runs PR milestone, release notes, file version and detector labels workflow in parallel. +name: PR Edit Trigger + +on: + pull_request: + types: + - opened + - reopened + - edited + - labeled + - unlabeled + +permissions: + pull-requests: write + contents: read + models: read + +jobs: + check-pr-trigger: + name: Check PR Trigger + runs-on: ubuntu-latest + + outputs: + require_validation: ${{ steps.check.outputs.require_validation }} + file_label_change: ${{ steps.check.outputs.file_label_change }} + detector_label_change: ${{ steps.check.outputs.detector_label_change }} + pr_edited: ${{ steps.check.outputs.pr_edited }} + + steps: + - name: Check PR Trigger + id: check + uses: actions/github-script@v8 + with: + script: | + let requireValidation = true; + let fileLabelChange = false; + let detectorLabelChange = false; + + /* + * If triggered by label change, ignore unrelated labels. + */ + const action = context.payload.action; + const prEdited = action === 'edited'; + + if (action === 'labeled' || action === 'unlabeled') { + const changedLabel = context.payload.label?.name; + core.info( + `Changed Label: ${changedLabel}` + ); + + const relevantLabels = [ + 'Feature', + 'Bug Fix', + 'Infrastructure', + 'Breaking API' + ]; + + if (!relevantLabels.includes(changedLabel)) { + requireValidation = false; + } + + // File Major requires Breaking API label + const fileLabels = [ + 'File Major', + 'File Minor', + 'Breaking API' + ]; + if (fileLabels.includes(changedLabel)) { + fileLabelChange = true; + } + + const detectorLabels = [ + 'Ctb', + 'Eiger', + 'Moench', + 'Mythen3', + 'Jungfrau', + 'Gotthard2', + 'Matterhorn', + 'Xilinx_ctb' + ]; + if (detectorLabels.includes(changedLabel)) { + detectorLabelChange = true; + } + } + + core.setOutput( + 'require_validation', + requireValidation.toString() + ); + core.setOutput( + 'file_label_change', + fileLabelChange.toString() + ); + core.setOutput( + 'detector_label_change', + detectorLabelChange.toString() + ); + core.setOutput( + 'pr_edited', + prEdited.toString() + ); + + if (requireValidation) { + core.info('PR type validation: Required.'); + } else { + core.info('PR type validation: Not required - Unrelated label.'); + } + if (fileLabelChange) { + core.info('File label or Breaking API: Changed.'); + } else { + core.info('File label or Breaking API: No Change.'); + } + if (detectorLabelChange) { + core.info('Detector label: Changed.'); + } else { + core.info('Detector label: No Change.'); + } + + validate-pr-type: + needs: check-pr-trigger + if: ${{ needs.check-pr-trigger.outputs.require_validation == 'true' }} + uses: ./.github/workflows/pr_type_validation.yaml + with: + pr_number: ${{ github.event.pull_request.number }} + permissions: + pull-requests: write + contents: read + + milestone: + needs: + - check-pr-trigger + - validate-pr-type + if: >- + ${{ + always() && + ( + needs.check-pr-trigger.outputs.require_validation == 'false' || + needs.validate-pr-type.result == 'success' + ) + }} + uses: ./.github/workflows/pr_milestone.yaml + with: + pr_number: ${{ github.event.pull_request.number }} + permissions: + pull-requests: write + contents: read + + detector-labels: + needs: + - check-pr-trigger + - validate-pr-type + if: >- + ${{ + always() && + ( + needs.check-pr-trigger.outputs.detector_label_change == 'false' && + ( + needs.check-pr-trigger.outputs.require_validation == 'false' || + needs.validate-pr-type.result == 'success' + ) + ) + }} + uses: ./.github/workflows/pr_detector_labels.yaml + with: + pr_number: ${{ github.event.pull_request.number }} + permissions: + pull-requests: write + issues: read + + release-notes: + needs: + - check-pr-trigger + - detector-labels + if: >- + ${{ + always() && + ( + needs.check-pr-trigger.outputs.require_validation == 'false' || + needs.detector-labels.result == 'success' + ) + }} + uses: ./.github/workflows/pr_release_notes.yaml + with: + pr_number: ${{ github.event.pull_request.number }} + permissions: + pull-requests: read + contents: read + + file-version: + needs: + - check-pr-trigger + - validate-pr-type + if: >- + ${{ + always() && + ( + needs.check-pr-trigger.outputs.file_label_change == 'true' + ) || + ( + needs.check-pr-trigger.outputs.require_validation == 'false' || + needs.validate-pr-type.result == 'success' + ) + }} + uses: ./.github/workflows/pr_file_version.yaml + with: + pr_number: ${{ github.event.pull_request.number }} + permissions: + pull-requests: write + contents: read diff --git a/.github/workflows/pr_file_version.yaml b/.github/workflows/pr_file_version.yaml new file mode 100644 index 000000000..01319b712 --- /dev/null +++ b/.github/workflows/pr_file_version.yaml @@ -0,0 +1,295 @@ +# This reusable workflow checks changes to receiver_defs.h. +# It validates the File Major and File Minor labels based on +# changes to HDF5_WRITER_VERSION or BINARY_WRITER_VERSION. +# +# File Major: +# The value before the decimal point changes. +# +# File Minor: +# Only the value after the decimal point changes. +# +# Existing labels are never silently removed. If the labels do not +# match the detected version change, the workflow fails. + +name: PR File Version + +on: + workflow_call: + inputs: + pr_number: + required: true + type: number + +permissions: + pull-requests: write + contents: read + +jobs: + file-version: + name: Check file version + runs-on: ubuntu-latest + + steps: + - name: Check file version + uses: actions/github-script@v8 + with: + script: | + const prNumber = ${{ inputs.pr_number }}; + + const filePath = + 'slsReceiverSoftware/src/receiver_defs.h'; + + const versionDefinitions = [ + 'HDF5_WRITER_VERSION', + 'BINARY_WRITER_VERSION' + ]; + + /* + * -------------------------------------------------- + * 1. Get current PR labels. + * -------------------------------------------------- + */ + const { data: currentLabels } = + await github.rest.issues.listLabelsOnIssue({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: prNumber + }); + + const currentLabelNames = + currentLabels.map(label => label.name); + + const hasFileMajor = + currentLabelNames.includes('File Major'); + + const hasFileMinor = + currentLabelNames.includes('File Minor'); + + const hasBreakingAPI = + currentLabelNames.includes('Breaking API'); + + /* + * File Major and File Minor are mutually exclusive. + */ + if (hasFileMajor && hasFileMinor) { + core.setFailed( + 'Both "File Major" and "File Minor" labels are present. Remove both labels and let the workflow determine the correct label based on changes to receiver_defs.h.' + ); + return; + } + + /* + * -------------------------------------------------- + * 2. Get all files changed by the PR. + * -------------------------------------------------- + */ + const files = await github.paginate( + github.rest.pulls.listFiles, + { + owner: context.repo.owner, + repo: context.repo.repo, + pull_number: prNumber, + per_page: 100 + } + ); + + /* + * -------------------------------------------------- + * 3. Check whether receiver_defs.h was changed. + * -------------------------------------------------- + */ + const changedFile = files.find( + file => file.filename === filePath + ); + + if (!changedFile) { + if (hasFileMajor || hasFileMinor) { + core.setFailed( + `${filePath} was not changed, but a File Major/File Minor label is present. Remove the label and let the workflow determine the correct label based on changes to receiver_defs.h.` + ); + return; + } + + core.info( + `${filePath} was not changed. No file version label required.` + ); + return; + } + + core.info( + `${filePath} was changed. Checking file version definitions.` + ); + + /* + * -------------------------------------------------- + * 4. Check the changed lines in the patch. + * -------------------------------------------------- + */ + const patch = changedFile.patch || ''; + + const oldVersions = {}; + const newVersions = {}; + + const versionRegex = + /^([+-])\s*#define\s+(HDF5_WRITER_VERSION|BINARY_WRITER_VERSION)\s+\((\d+)\.(\d+)\)/; + + for (const line of patch.split('\n')) { + const match = line.match(versionRegex); + + if (!match) { + continue; + } + + const changeType = match[1]; + const name = match[2]; + const major = Number(match[3]); + const minor = Number(match[4]); + + if (changeType === '-') { + oldVersions[name] = { + major, + minor + }; + } else if (changeType === '+') { + newVersions[name] = { + major, + minor + }; + } + } + + /* + * -------------------------------------------------- + * 5. Determine the file version change. + * -------------------------------------------------- + */ + let versionChanged = false; + let majorChange = false; + + for (const name of versionDefinitions) { + const oldVersion = oldVersions[name]; + const newVersion = newVersions[name]; + + /* + * Both old and new definitions must be present + * in order to identify a version change. + */ + if (!oldVersion || !newVersion) { + continue; + } + + /* + * Ignore the definition if the version did not + * actually change. + */ + if ( + oldVersion.major === newVersion.major && + oldVersion.minor === newVersion.minor + ) { + continue; + } + + versionChanged = true; + + core.info( + `${name}: ` + + `${oldVersion.major}.${oldVersion.minor} -> ` + + `${newVersion.major}.${newVersion.minor}` + ); + + /* + * A change before the decimal point is a + * major version change. + */ + if (oldVersion.major !== newVersion.major) { + majorChange = true; + } + } + + /* + * -------------------------------------------------- + * 6. No relevant version change. + * -------------------------------------------------- + */ + if (!versionChanged) { + if (hasFileMajor || hasFileMinor) { + core.setFailed( + `Neither HDF5_WRITER_VERSION nor BINARY_WRITER_VERSION was changed, but a File Major/File Minor label is present. Remove the labels and let the workflow determine the correct label based on changes to receiver_defs.h.` + ); + return; + } + + core.info( + 'Neither HDF5_WRITER_VERSION nor BINARY_WRITER_VERSION was changed. No file version label required.' + ); + return; + } + + /* + * -------------------------------------------------- + * 7. Major version change. + * -------------------------------------------------- + */ + if (majorChange) { + if (hasFileMinor) { + core.setFailed( + 'A major file version change was detected, but the PR has the "File Minor" label. Remove the "File Minor" label and let the workflow determine the correct label based on changes to receiver_defs.h.' + ); + return; + } + + if (!hasBreakingAPI) { + core.setFailed( + 'A major file version change was detected, and the PR has not recognized "Breaking API". Please check the checkbox "Breaking API" in the PR description so that the appropriate label can be added to the PR and milestone recalculated.' + ); + return; + } + + if (!hasFileMajor) { + await github.rest.issues.addLabels({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: prNumber, + labels: ['File Major'] + }); + + core.info( + 'Added label: File Major' + ); + } else { + core.info( + 'File Major label and Breaking API label are correctly present.' + ); + } + + return; + } + + /* + * -------------------------------------------------- + * 8. Minor version change. + * -------------------------------------------------- + */ + if (hasFileMajor) { + core.setFailed( + 'Only a minor file version change was detected, but the PR has the "File Major" label. Remove the "File Major" label and let the workflow determine the correct label based on changes to receiver_defs.h.' + ); + return; + } + + if (!hasFileMinor) { + await github.rest.issues.addLabels({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: prNumber, + labels: ['File Minor'] + }); + + core.info( + 'Added label: File Minor' + ); + } else { + core.info( + 'File Minor label is correctly present.' + ); + } \ No newline at end of file diff --git a/.github/workflows/pr_milestone.yaml b/.github/workflows/pr_milestone.yaml new file mode 100644 index 000000000..a58d50bd8 --- /dev/null +++ b/.github/workflows/pr_milestone.yaml @@ -0,0 +1,248 @@ +# This reusable workflow sets the milestone based on the +# current PR labels. + +name: PR Milestone + +on: + workflow_call: + inputs: + pr_number: + required: true + type: number + +permissions: + pull-requests: write + contents: read + +jobs: + set-milestone: + name: Set PR milestone + runs-on: ubuntu-latest + + steps: + - name: Determine target milestone + id: determine-milestone + uses: actions/github-script@v8 + with: + script: | + const prNumber = ${{ inputs.pr_number }}; + + /* + * Get the base branch of the PR. + */ + const { data: pullRequest } = + await github.rest.pulls.get({ + owner: context.repo.owner, + repo: context.repo.repo, + pull_number: prNumber + }); + const baseBranch = pullRequest.base.ref; + + /* + * 1. Return early if base is main branch. Milestone is already + * managed and probably done when merging to main. + */ + if (baseBranch === 'main') { + core.info('PR targets main. Milestone is managed separately.'); + core.setOutput('target_milestone', ''); + return; + } + + /* + * Helper function to set the target milestone output. + */ + const setTargetMilestoneOutput = (targetMilestone) => { + core.info(`Target milestone: ${targetMilestone}`); + core.setOutput('target_milestone', targetMilestone); + }; + + /* + * 2. If PR targets a release-candidate branch (for example 9.1.0.rc), + * set milestone to the release version prefix (for example 9.1.0) + * and return early. + */ + if (baseBranch.endsWith('.rc')) { + const targetMilestone = baseBranch.replace(/\.rc$/, ''); + + core.info( + `PR targets release-candidate branch "${baseBranch}". ` + + `Using milestone "${targetMilestone}".` + ); + + setTargetMilestoneOutput(targetMilestone); + return; + } + + /** + * 3. If PR targets a branch that is not developer, do nothing. + */ + if (baseBranch !== 'developer') { + core.info('PR does not target developer branch. Skipping milestone management.'); + core.setOutput('target_milestone', ''); + return; + } + + /* + * 4. If PR targets developer, check "Equivalent PRs" in the PR body. + * If an equivalent PR targets an RC branch (for example 9.1.0.rc), + * use the corresponding release milestone (for example 9.1.0). + */ + if (baseBranch === 'developer') { + const equivalentPrSectionMatch = pullRequest.body?.match( + /(^|\n)#{1,6}\s*Equivalent PRs\s*\n([\s\S]*?)(?=\n#{1,6}\s+\S|\s*$)/i + ); + + const equivalentPrNumbers = + equivalentPrSectionMatch?.[2] + ? Array.from( + equivalentPrSectionMatch[2].matchAll(/#(\d+)/g), + match => Number(match[1]) + ) + : []; + + for (const equivalentPrNumber of equivalentPrNumbers) { + if (equivalentPrNumber === prNumber) { + continue; + } + + const { data: equivalentPr } = + await github.rest.pulls.get({ + owner: context.repo.owner, + repo: context.repo.repo, + pull_number: equivalentPrNumber + }); + + const equivalentBaseBranch = equivalentPr.base.ref; + + if (!equivalentBaseBranch.endsWith('.rc')) { + continue; + } + + const targetMilestone = + equivalentBaseBranch.replace(/\.rc$/, ''); + + core.info( + `Developer PR references RC PR #${equivalentPrNumber} ` + + `(${equivalentBaseBranch}). Using milestone "${targetMilestone}".` + ); + + setTargetMilestoneOutput(targetMilestone); + return; + } + } + + /* + * 5. Read release targets through the GitHub API + * from the base branch of PR. + */ + const { data: file } = + await github.rest.repos.getContent({ + owner: context.repo.owner, + repo: context.repo.repo, + path: '.github/release-targets.yaml', + ref: baseBranch + }); + + const releaseTargetsFile = + Buffer.from(file.content, 'base64').toString('utf8'); + + const getTarget = (name) => { + const match = releaseTargetsFile.match( + new RegExp(`^${name}:\\s*["']?([^"'\\s]+)["']?`, 'm') + ); + + if (!match) { + core.setFailed( + `Release target "${name}" was not found.` + ); + return null; + } + + return match[1]; + }; + + const major = getTarget('major'); + const minor = getTarget('minor'); + const bugFix = getTarget('bug_fix'); + + if (!major || !minor || !bugFix) { + core.setFailed( + 'Required release targets (major, minor, bug_fix) could not be resolved from yaml file.' + ); + return; + } + + /* + * Get current PR labels. + */ + const { data: labels } = + await github.rest.issues.listLabelsOnIssue({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: prNumber + }); + + const labelNames = + labels.map(label => label.name); + + /* + * Determine the milestone. + * + * Breaking API has highest priority. + */ + let targetMilestone; + + if (labelNames.includes('Breaking API')) { + targetMilestone = major; + } else if (labelNames.includes('Feature')) { + targetMilestone = minor; + } else if ( + labelNames.includes('Bug Fix') || + labelNames.includes('Infrastructure') + ) { + targetMilestone = bugFix; + } else { + core.setFailed( + 'No milestone-related labels found.' + ); + return; + } + + setTargetMilestoneOutput(targetMilestone); + + - name: Set milestone + if: steps.determine-milestone.outputs.target_milestone != '' + uses: actions/github-script@v8 + with: + script: | + const prNumber = ${{ inputs.pr_number }}; + const targetMilestone = '${{ steps.determine-milestone.outputs.target_milestone }}'; + + const { data: milestones } = + await github.rest.issues.listMilestones({ + owner: context.repo.owner, + repo: context.repo.repo, + state: 'open' + }); + + const milestone = milestones.find( + milestone => milestone.title === targetMilestone + ); + + if (!milestone) { + core.setFailed( + `Milestone "${targetMilestone}" was not found.` + ); + return; + } + + await github.rest.issues.update({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: prNumber, + milestone: milestone.number + }); + + core.info( + `Milestone set to "${targetMilestone}".` + ); diff --git a/.github/workflows/pr_release_notes.yaml b/.github/workflows/pr_release_notes.yaml new file mode 100644 index 000000000..877835793 --- /dev/null +++ b/.github/workflows/pr_release_notes.yaml @@ -0,0 +1,262 @@ +# This reusable workflow validates the PR release notes. It ignores comments and +#
blocks, checks for notes under the "## Release notes" section. If +# it is not an Infrastructure PR and release notes are not found, it should find +# them in an equivalent PR or referenced PR, else validation fails. If it is an +# Infrastructure PR and release notes are found, validation fails. + +name: PR Release Notes + +on: + workflow_call: + inputs: + pr_number: + required: true + type: number + +permissions: + pull-requests: read + contents: read + +jobs: + check-release-notes: + name: Check PR release notes + runs-on: ubuntu-latest + + steps: + + - name: Validate with labels + id: validate-labels + uses: actions/github-script@v8 + with: + script: | + const prNumber = ${{ inputs.pr_number }}; + if (!prNumber) { + core.setFailed('Unable to determine PR number.'); + return; + } + + core.setOutput('is_main_branch', 'false'); + core.setOutput('require_release_notes', 'true'); + + // base branch: main => no validation needed + const { data: pr } = await github.rest.pulls.get({ + owner: context.repo.owner, + repo: context.repo.repo, + pull_number: prNumber + }); + const baseBranch = pr.base.ref; + if (baseBranch === 'main') { + core.info('PR targets main branch. Release notes validation is not required.'); + core.setOutput('is_main_branch', 'true'); + core.setOutput('require_release_notes', 'false'); + return; + } + + // get current PR labels + const { data: labels } = + await github.rest.issues.listLabelsOnIssue({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: prNumber + }); + const labelNames = labels.map(label => label.name); + + // infrastructure label + const hasInfrastructure = labelNames.includes('Infrastructure'); + core.info('Infrastructure label: ' + hasInfrastructure); + + // developer detector label + const developingDetectorLabels = ['Ctb', 'Xilinx Ctb', 'Matterhorn']; + const otherDetectorLabels = ['Eiger', 'Mythen3', 'Gotthard2', 'Jungfrau', 'Moench']; + const hasDevelopingDetectorLabel = labelNames.some( + label => developingDetectorLabels.includes(label) + ); + const hasOtherDetectorLabel = labelNames.some( + label => otherDetectorLabels.includes(label) + ); + const hasOnlyDevelopingDetectors = + hasDevelopingDetectorLabel && !hasOtherDetectorLabel; + core.info('Only developing detector labels: ' + hasOnlyDevelopingDetectors + '\n'); + + if (hasInfrastructure || hasOnlyDevelopingDetectors) { + core.setOutput('require_release_notes', 'false'); + core.info ('Release notes required: false'); + return; + } + + core.info('Release notes required: true'); + + + - name: Find release notes in current PR + id: find-current + if: steps.validate-labels.outputs.is_main_branch == 'false' + uses: actions/github-script@v8 + with: + script: | + const prNumber = ${{ inputs.pr_number }}; + core.setOutput('needs_further_action', 'false'); + + // some functions to help find release notes in current PR body + const stripIgnoredContent = (text = '') => { + return (text || '') + .replace(//gs, '\n') + .replace(//gi, '\n') + .trim(); + }; + const findReleaseNotesSection = (body = '') => { + const sanitized = stripIgnoredContent(body || ''); + if (!sanitized) return ''; + + const match = sanitized.match( + /(^|\n)#{1,6}\s*Release notes\s*\n([\s\S]*?)(?=\n#{1,6}\s+\S|\s*$)/i + ); + if (!match) return ''; + + let section = (match[2] || '') + .split('\n') + .filter(line => !/^#{1,6}\s+/.test(line.trim())) + .join('\n') + .trim(); + + return section; + }; + + const { data: pr } = await github.rest.pulls.get({ + owner: context.repo.owner, + repo: context.repo.repo, + pull_number: prNumber + }); + + // find release notes in the current PR body + const releaseNotes = findReleaseNotesSection(pr.body || ''); + const hasReleaseNotesCurrent = Boolean(releaseNotes); + core.info('Release notes in current PR: ' + (hasReleaseNotesCurrent ? 'Found\n' : 'Not found\n')); + + // validate release notes requirement + const requireReleaseNotes = '${{ steps.validate-labels.outputs.require_release_notes }}' === 'true'; + if (!requireReleaseNotes) { + if (hasReleaseNotesCurrent) { + core.setFailed('Release notes cannot be included for this PR ' + + '(Infrastructure/developing detector). \n' + + 'To fix this, \n' + + '\t - remove release notes or\n' + + '\t - change PR type or\n' + + '\t - add/remove detector labels.\n'); + return; + } + core.info('No further action required (Infrastructure/developing detector).'); + return; + } + + if (hasReleaseNotesCurrent) { + core.info('No further action required.'); + return; + } + + core.setOutput('needs_further_action', 'true'); + core.info('Further action required.'); + + - name: Find release notes in linked PRs + if: >- + ${{ + steps.validate-labels.outputs.is_main_branch == 'false' && + steps.find-current.outputs.needs_further_action == 'true' + }} + uses: actions/github-script@v8 + with: + script: | + const prNumber = ${{ inputs.pr_number }}; + + // functions to find release notes in linked PRs + const stripIgnoredContent = (text = '') => { + return (text || '') + .replace(//gs, '\n') + .replace(//gi, '\n') + .trim(); + }; + const findReleaseNotesSection = (body = '') => { + const sanitized = stripIgnoredContent(body || ''); + if (!sanitized) return ''; + + const match = sanitized.match( + /(^|\n)#{1,6}\s*Release notes\s*\n([\s\S]*?)(?=\n#{1,6}\s+\S|\s*$)/i + ); + if (!match) return ''; + + return (match[2] || '') + .split('\n') + .filter(line => !/^#{1,6}\s+/.test(line.trim())) + .join('\n') + .trim(); + }; + const parseNumberList = (text) => { + if (!text) { + return []; + } + return Array.from( + new Set( + Array.from(text.matchAll(/#(\d+)/g), match => Number(match[1])) + ) + ); + }; + const findReferencedPrNumbers = (body = '') => { + if (!body) { + return []; + } + const relevantSections = [ + 'Equivalent PRs', + 'Referenced PRs' + ]; + const patterns = relevantSections.map(section => + new RegExp( + `(^|\\n)#{1,6}\\s*${section.replace(/[.*+?^${}()|[\\]\\]/g, '\\$&')}\\s*\\n([\\s\\S]*?)(?=\\n#{1,6}\\s+\\S|\\s*$)`, + 'i' + ) + ); + const numbers = []; + for (const pattern of patterns) { + const match = body.match(pattern); + if (match && match[2]) { + numbers.push(...parseNumberList(match[2])); + } + } + return Array.from(new Set(numbers)); + }; + + // Loop thorough linked PRs to find release notes + const { data: pr } = await github.rest.pulls.get({ + owner: context.repo.owner, + repo: context.repo.repo, + pull_number: prNumber + }); + + const equivalentAndReferencedPrNumbers = findReferencedPrNumbers(pr.body || ''); + for (const referencedPrNumber of equivalentAndReferencedPrNumbers) { + if (referencedPrNumber === prNumber) { + continue; + } + try { + const { data: referencedPr } = + await github.rest.pulls.get({ + owner: context.repo.owner, + repo: context.repo.repo, + pull_number: referencedPrNumber + }); + const referencedNotes = findReleaseNotesSection(referencedPr.body || ''); + if (referencedNotes) { + core.info( + `Release notes found: In equivalent/referenced PR ` + + `#${referencedPrNumber}. Using that as the source for this PR.` + ); + return; + } + } catch (error) { + core.warning( + `Unable to inspect referenced PR #${referencedPrNumber}: ${error.message}` + ); + } + } + + core.setFailed( + 'No release notes were found in the PR body, equivalent PRs, or referenced PRs.' + ); \ No newline at end of file diff --git a/.github/workflows/pr_synchronize_trigger.yaml b/.github/workflows/pr_synchronize_trigger.yaml new file mode 100644 index 000000000..ce014b5a4 --- /dev/null +++ b/.github/workflows/pr_synchronize_trigger.yaml @@ -0,0 +1,29 @@ +# This workflow is triggered when code is pushed to a pull request. It runs the reusable detector label workflow and the file version workflow in parallel. + +name: PR Synchronize Trigger + +on: + pull_request: + types: + - synchronize + +permissions: + actions: read + pull-requests: read + +jobs: + detector-labels: + uses: ./.github/workflows/pr_detector_labels.yaml + with: + pr_number: ${{ github.event.pull_request.number }} + permissions: + pull-requests: write + issues: read + + file-version: + uses: ./.github/workflows/pr_file_version.yaml + with: + pr_number: ${{ github.event.pull_request.number }} + permissions: + pull-requests: write + contents: read \ No newline at end of file diff --git a/.github/workflows/pr_type_validation.yaml b/.github/workflows/pr_type_validation.yaml new file mode 100644 index 000000000..f9a04bc97 --- /dev/null +++ b/.github/workflows/pr_type_validation.yaml @@ -0,0 +1,177 @@ +# This reusable workflow reads the primary type and breaking api selection from the PR description and validates the PR labels. It ensures that exactly one primary type is selected, and that the Breaking API label is consistent with the checkbox in the PR description. It also adds or removes labels as necessary to match the PR description. + +name: PR Type Validation + +on: + workflow_call: + inputs: + pr_number: + required: true + type: number + +permissions: + pull-requests: write + contents: read + +jobs: + validate_pr_type: + name: PR Type Validation + runs-on: ubuntu-latest + + steps: + - name: PR Type Validation and Breaking API + id: validate + uses: actions/github-script@v8 + with: + script: | + /* + * Read the body contents of PR + */ + const prNumber = ${{ inputs.pr_number }}; + + if (!prNumber) { + core.setFailed('Unable to determine PR number.'); + return; + } + + const { data: pr } = + await github.rest.pulls.get({ + owner: context.repo.owner, + repo: context.repo.repo, + pull_number: prNumber + }); + + const body = pr.body || ''; + + /* + * Check which primary PR type is selected. + */ + const feature = + /-\s*\[[xX]\]\s*Feature\b/.test(body); + + const bugFix = + /-\s*\[[xX]\]\s*Bug Fix\b/.test(body); + + const infrastructure = + /-\s*\[[xX]\]\s*Infrastructure\b/.test(body); + + const primaryTypes = [ + feature && 'Feature', + bugFix && 'Bug Fix', + infrastructure && 'Infrastructure' + ].filter(Boolean); + + /* + * Exactly one primary PR type must be selected. + */ + if (primaryTypes.length !== 1) { + core.setFailed( + 'Exactly one primary PR type must be selected. Select exactly one of: Feature, Bug Fix, Infrastructure in the description.' + ); + return; + } + + const primaryType = primaryTypes[0]; + + /* + * Infrastructure PRs cannot be Breaking API. + */ + const breakingApi = + /-\s*\[[xX]\]\s*This is a Breaking API change\b/.test(body); + + if (infrastructure && breakingApi) { + core.setFailed( + 'Infrastructure PRs cannot be Breaking API changes. Deselect Breaking API or change the PR type to Feature or Bug Fix in the description.' + ); + return; + } + + core.info(`Primary PR type: ${primaryType}`); + core.info( + `Breaking API: ${breakingApi ? 'yes' : 'no'}` + ); + + /* + * Get the labels currently on the PR. + */ + const { data: currentLabels } = + await github.rest.issues.listLabelsOnIssue({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: prNumber + }); + + const currentLabelNames = + currentLabels.map(label => label.name); + + const primaryLabels = [ + 'Feature', + 'Bug Fix', + 'Infrastructure' + ]; + + const selectedPrimary = + primaryLabels.filter(label => + currentLabelNames.includes(label) + ); + + if (selectedPrimary.length > 1) { + core.setFailed( + `Invalid PR label state: multiple primary labels are present: ${selectedPrimary.join(', ')}. Remove these primary type labels 'Feature, Bug Fix, Infrastructure' and let the workflow set the correct label based on the PR description.` + ); + return; + } + + if (selectedPrimary.length === 1 && selectedPrimary[0] !== primaryType) { + core.setFailed( + `Invalid PR label state: the PR body selects ${primaryType}, but the existing label is ${selectedPrimary[0]}. Remove the existing label and let the workflow set the correct label based on the PR description.` + ); + return; + } + + if ( + currentLabelNames.includes('Breaking API') && + infrastructure + ) { + core.setFailed( + 'Infrastructure PRs cannot have the Breaking API label.' + ); + return; + } + + if ( + !breakingApi && + currentLabelNames.includes('Breaking API') + ) { + core.setFailed( + 'Breaking API label is present but the PR body does not mark the checkbox. Remove the label or check the checkbox in the PR body.' + ); + return; + } + + if ( + breakingApi && + !currentLabelNames.includes('Breaking API') + ) { + await github.rest.issues.addLabels({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: prNumber, + labels: ['Breaking API'] + }); + + core.info('Added label: Breaking API'); + } + + if (!currentLabelNames.includes(primaryType)) { + await github.rest.issues.addLabels({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: prNumber, + labels: [primaryType] + }); + + core.info(`Added label: ${primaryType}`); + } + + core.info('PR validation passed.'); \ No newline at end of file diff --git a/.github/workflows/run_tests.yaml b/.github/workflows/run_tests.yaml index f5ee18c63..90bf980be 100644 --- a/.github/workflows/run_tests.yaml +++ b/.github/workflows/run_tests.yaml @@ -4,7 +4,6 @@ on: push: - env: # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) BUILD_TYPE: Debug diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt index 25e313d7c..f79490cab 100644 --- a/docs/CMakeLists.txt +++ b/docs/CMakeLists.txt @@ -42,7 +42,7 @@ set(SPHINX_SOURCE_FILES src/pydetector.rst src/pyenums.rst src/pyexamples.rst - src/pyPatternGenerator.rst + src/pypatterngenerator.rst src/servers.rst src/multidet.rst src/receiver_api.rst diff --git a/docs/images_src/detector_data_format.drawio b/docs/images_src/detector_data_format.drawio index 1287bec75..5245aeaf5 100644 --- a/docs/images_src/detector_data_format.drawio +++ b/docs/images_src/detector_data_format.drawio @@ -1,1307 +1,1371 @@ - + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - + + + + - - + + - - - - + + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/images_src/system_communication_architecture.drawio b/docs/images_src/system_communication_architecture.drawio index 0e22ece27..5f3b7c845 100644 --- a/docs/images_src/system_communication_architecture.drawio +++ b/docs/images_src/system_communication_architecture.drawio @@ -1,785 +1,830 @@ - + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - - + + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - + - + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/src/Testing.rst b/docs/src/Testing.rst index 99dd202da..b735e2d66 100644 --- a/docs/src/Testing.rst +++ b/docs/src/Testing.rst @@ -49,7 +49,7 @@ If you want to disable testing that involves a data file that require pc tuning .. note :: - Ensure that there are no spaces betweent the tags and no '.', else hardly any test will be matched. + Ensure that there are no spaces between the tags and no '.', else hardly any test will be matched. .. _python simulator script: @@ -104,7 +104,7 @@ To run only tests requiring virtual detectors use the following command: #in build python -m pytest -m detectorintegration ../python/tests/ -There is a helper test fixture in ``slsDetectorSoftware/python/tests/conftest.py`` called ``session_simulator`` that sets up virtual detectors and yields the test for all detectors. The set up is done for every test automatically. Note that the fixture persist over the entire session e.g. the fixture is setup one detector at a time and runs all tests using this fixture before cleaning up and moving on to the next detector. It saves time if the setup and cleanup is expensive. +There is a helper test fixture in ``slsDetectorSoftware/python/tests/conftest.py`` called ``session_simulator`` that sets up virtual detectors and yields the test for all detectors. The set up is done for every test automatically. Note that the fixture persists over the entire session e.g. the fixture is setup one detector at a time and runs all tests using this fixture before cleaning up and moving on to the next detector. It saves time if the setup and cleanup is expensive. Example usage: diff --git a/docs/src/configcommands.rst b/docs/src/configcommands.rst index dbc0eabd6..90dcce0cb 100644 --- a/docs/src/configcommands.rst +++ b/docs/src/configcommands.rst @@ -18,8 +18,8 @@ This package typically deals with two types of network interfaces: Client to Module ----------------- -.. figure:: images/Client_module_commands.png - :target: _images/Client_module_commands.png +.. figure:: images/Client_module_commands.svg + :target: _images/Client_module_commands.svg :width: 700px :align: center :alt: Client Module Commands @@ -60,8 +60,8 @@ Each physical module has its own unique IP address. As the IPs are already diffe Client to Receiver -------------------- -.. figure:: images/Client_receiver_commands.png - :target: _images/Client_receiver_commands.png +.. figure:: images/Client_receiver_commands.svg + :target: _images/Client_receiver_commands.svg :align: center :alt: Client Receiver Commands @@ -112,8 +112,8 @@ For example, using default TCP ports (1954, 1955): Module to Receiver ------------------- -.. figure:: images/Module_receiver_commands.png - :target: _images/Module_receiver_commands.png +.. figure:: images/Module_receiver_commands.svg + :target: _images/Module_receiver_commands.svg :align: center :alt: Module Receiver Commands @@ -139,9 +139,9 @@ Unlike TCP, the module (hardware) requires explicit configuration for sending im Info on where to send the image from the module to. -**UDP Desination IP** - The IP of the receiver PC's 10 GbE interface, usually found via ``ifconfig``. Command: `udp_dstip `_. For 1GbE interface and for this command, one can use 'auto' as an argument, which will pick up the IP from the `rx_hostname command `_. +**UDP Destination IP** - The IP of the receiver PC's 10 GbE interface, usually found via ``ifconfig``. Command: `udp_dstip `_. For 1GbE interface and for this command, one can use 'auto' as an argument, which will pick up the IP from the `rx_hostname command `_. -**UDP desintation MAC** - Also obtained from the interface using ``ifconfig``. For built-in receivers, the module configures this automatically from the ``UDP destination IP``. For custom receivers, it must be explicitly provided. Command: `udp_dstmac `_ +**UDP destination MAC** - Also obtained from the interface using ``ifconfig``. For built-in receivers, the module configures this automatically from the ``UDP destination IP``. For custom receivers, it must be explicitly provided. Command: `udp_dstmac `_ **UDP destination port** - Ensure uniqueness if multiple users share the interface. Command: `udp_dstport `_ @@ -173,13 +173,13 @@ As it is a one-way communication (module to receiver with no reply or acknowledg **UDP source port** - This is hardcoded in every module to the same value in the detector server and cannot be changed. -Note: If there is a second UDP port on the module, use 'udp_dstport2' or 'udp_dstip2'etc. See `here `_ for more detector specific info. +Note: If there is a second UDP port on the module, use 'udp_dstport2' or 'udp_dstip2' etc. See `here `_ for more detector specific info. Receiver to GUI ----------------- -.. figure:: images/Receiver_gui_commands.png - :target: _images/Receiver_gui_commands.png +.. figure:: images/Receiver_gui_commands.svg + :target: _images/Receiver_gui_commands.svg :align: center :alt: Receiver GUI Commands @@ -216,8 +216,8 @@ Enabling the GUI automatically streams images from the receiver via ZMQ sockets. Receiver to External Processing -------------------------------- -.. figure:: images/Receiver_external_process_commands.png - :target: _images/Receiver_external_process_commands.png +.. figure:: images/Receiver_external_process_commands.svg + :target: _images/Receiver_external_process_commands.svg :align: center :alt: Click to zoom diff --git a/docs/src/consuming.rst b/docs/src/consuming.rst index 02d23608c..c1190798e 100644 --- a/docs/src/consuming.rst +++ b/docs/src/consuming.rst @@ -81,7 +81,7 @@ The only difference is that you point CMake to $CONDA_PREFIX cmake ../path/to/your/source -DCMAKE_PREFIX_PATH=$CONDA_PREFIX make -Depending on your system compiler you might also have to install gxx_linux-64 to compiled. +Depending on your system compiler you might also have to install gxx_linux-64 to compile. No tools minimal approach ----------------------------- diff --git a/docs/src/dataformat.rst b/docs/src/dataformat.rst index a8c2f0991..e9d9f773d 100644 --- a/docs/src/dataformat.rst +++ b/docs/src/dataformat.rst @@ -11,8 +11,8 @@ Jungfrau Single Port Configuration ^^^^^^^^^^^^^^^^^^^^^^^^^^ -.. image:: images/Jungfrau_module.png - :target: _images/Jungfrau_module.png +.. image:: images/Jungfrau_module.svg + :target: _images/Jungfrau_module.svg :width: 650px :align: center :alt: Jungfrau Module Single Port Configuration @@ -29,8 +29,8 @@ Total image size = 524,288 bytes Double Port Configuration ^^^^^^^^^^^^^^^^^^^^^^^^^^ -.. image:: images/Jungfrau_two_port.png - :target: _images/Jungfrau_two_port.png +.. image:: images/Jungfrau_two_port.svg + :target: _images/Jungfrau_two_port.svg :width: 500px :align: center :alt: Jungfrau Module Two Port Configuration @@ -51,8 +51,8 @@ Image size per UDP port or File = 262,144 bytes Read Partial Rows ^^^^^^^^^^^^^^^^^^ -.. image:: images/Jungfrau_read_rows.png - :target: _images/Jungfrau_read_rows.png +.. image:: images/Jungfrau_read_rows.svg + :target: _images/Jungfrau_read_rows.svg :width: 550px :align: center :alt: Jungfrau Module Read Partial Rows Configuration @@ -74,8 +74,8 @@ Moench Single Port Configuration ^^^^^^^^^^^^^^^^^^^^^^^^^^ -.. image:: images/Moench_module.png - :target: _images/Moench_module.png +.. image:: images/Moench_module.svg + :target: _images/Moench_module.svg :width: 550px :align: center :alt: Moench Module Single Port Configuration @@ -91,8 +91,8 @@ Total image size = 320,000 bytes Double Port Configuration ^^^^^^^^^^^^^^^^^^^^^^^^^^ -.. image:: images/Moench_two_port.png - :target: _images/Moench_two_port.png +.. image:: images/Moench_two_port.svg + :target: _images/Moench_two_port.svg :width: 400px :align: center :alt: Moench Module Two Port Configuration @@ -113,8 +113,8 @@ Image size per UDP port or File = 160,000 bytes Read Partial Rows ^^^^^^^^^^^^^^^^^^ -.. image:: images/Moench_read_rows.png - :target: _images/Moench_read_rows.png +.. image:: images/Moench_read_rows.svg + :target: _images/Moench_read_rows.svg :width: 400px :align: center :alt: Moench Module Read Partial Rows Configuration @@ -135,8 +135,8 @@ Eiger Default Configuration ^^^^^^^^^^^^^^^^^^^^^^^^^^ -.. image:: images/Eiger_module.png - :target: _images/Eiger_module.png +.. image:: images/Eiger_module.svg + :target: _images/Eiger_module.svg :width: 350px :align: center :alt: Eiger Module Default Configuration @@ -157,8 +157,8 @@ The myth, the legend, the bottom ports: Demystifying them ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -.. figure:: images/Eiger_bottom_1.png - :target: _images/Eiger_bottom_1.png +.. figure:: images/Eiger_bottom_1.svg + :target: _images/Eiger_bottom_1.svg :width: 350px :align: center :alt: Eiger Bottom as Firmware gets it @@ -166,8 +166,8 @@ The myth, the legend, the bottom ports: Demystifying them How the firmware gets the images -.. figure:: images/Eiger_bottom_2.png - :target: _images/Eiger_bottom_2.png +.. figure:: images/Eiger_bottom_2.svg + :target: _images/Eiger_bottom_2.svg :width: 350px :align: center :alt: Eiger Bottom after the firmware flips it horizontally @@ -175,8 +175,8 @@ The myth, the legend, the bottom ports: Demystifying them After the firmware flips it horizontally -.. figure:: images/Eiger_bottom_3.png - :target: _images/Eiger_bottom_3.png +.. figure:: images/Eiger_bottom_3.svg + :target: _images/Eiger_bottom_3.svg :width: 350px :align: center :alt: After the software swaps the udp ports @@ -184,8 +184,8 @@ The myth, the legend, the bottom ports: Demystifying them After the software swaps the udp ports -.. figure:: images/Eiger_bottom_4.png - :target: _images/Eiger_bottom_4.png +.. figure:: images/Eiger_bottom_4.svg + :target: _images/Eiger_bottom_4.svg :width: 400px :align: center :alt: After the gui has flipped the bottom vertically @@ -204,7 +204,7 @@ The pixel width can be configured to 4, 8, 16 (default) or 32 bits using the com Flip rows ^^^^^^^^^^ -One can use the command `fliprows `_ to flip the rows vertically for the bottom or top half module. It is sent out to the reciever, but does not flip rows in the output file itself, but rather streams out this info via the json header and thus instructs the GUI to display them correctly. +One can use the command `fliprows `_ to flip the rows vertically for the bottom or top half module. It is sent out to the receiver, but does not flip rows in the output file itself, but rather streams out this info via the json header and thus instructs the GUI to display them correctly. 1GbE/ 10GbE Interfaces ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -223,8 +223,8 @@ Note: Only the activated ports will write data as it does not make sense to writ **Read Partial Rows**: The number of image rows per port can be adjusted using the `readnrows `_ command. By default, 256 rows are read, but a smaller value centers the readout vertically (e.g., 8 rows reads 4 above and 4 below the center). Increasing the value symmetrically expands the region toward the top and bottom. Permissible values depend on dynamic range and 10GbE enable. -.. image:: images/Eiger_read_rows.png - :target: _images/Eiger_read_rows.png +.. image:: images/Eiger_read_rows.svg + :target: _images/Eiger_read_rows.svg :width: 400px :align: center :alt: Eiger Module Read Partial Rows Configuration @@ -247,8 +247,8 @@ As with any standard half-module, it includes one control TCP port (with a hostn In this configuration, the fliprows command cannot be used to flip the entire half-module. Instead, the receiver automatically includes row-flipping information only for the second UDP port in the JSON header, so the GUI can apply the correct orientation during display -.. image:: images/Eiger_quad.png - :target: _images/Eiger_quad.png +.. image:: images/Eiger_quad.svg + :target: _images/Eiger_quad.svg :width: 300px :align: center :alt: Eiger Quad Configuration @@ -263,8 +263,8 @@ Mythen3 Default Configuration ^^^^^^^^^^^^^^^^^^^^^^^^^^ -.. image:: images/Mythen3_module.png - :target: _images/Mythen3_module.png +.. image:: images/Mythen3_module.svg + :target: _images/Mythen3_module.svg :align: center :alt: Mythen3 Module Default Configuration @@ -279,7 +279,7 @@ Image size = 15,360 bytes Counters ^^^^^^^^^^^ -If all 3 counters are enabeld, the frame size for each channel is multiplied by 3. The counters are stored consecutively per channel. One can disable one or more of the counters using the `counters `_ command. The frame size will then be reduced accordingly. +If all 3 counters are enabled, the frame size for each channel is multiplied by 3. The counters are stored consecutively per channel. One can disable one or more of the counters using the `counters `_ command. The frame size will then be reduced accordingly. Image size = 10,240 bytes - 10 chips (1 x 10 grid) @@ -306,8 +306,8 @@ Gotthard2 Default Configuration ^^^^^^^^^^^^^^^^^^^^^^^^^^ -.. image:: images/Gotthard2_module.png - :target: _images/Gotthard2_module.png +.. image:: images/Gotthard2_module.svg + :target: _images/Gotthard2_module.svg :align: center :alt: Gotthard2 Module Default Configuration diff --git a/docs/src/dependencies.rst b/docs/src/dependencies.rst index 3e0e7b364..14e866eb3 100644 --- a/docs/src/dependencies.rst +++ b/docs/src/dependencies.rst @@ -25,11 +25,11 @@ Additionally the core requires the following dependencies: * fmt 12.1.0 (packaged in libs) * ZeroMQ 4.3.4 (packaged in libs) - * rapidjson (packaged in libs) + * rapidjson 1.1.0 (packaged in libs) .. note:: - Both fmt, ZeroMQ and rapidjson are bundled in libs. One does not need to pre-install them on the system. Alternatively, one can fetch fmt and ZeroMQ from GitHub by passing the cmake options ``-DSLS_FETCH_FMT_FROM_GITHUB=ON`` and ``-DSLS_FETCH_ZEROMQ_FROM_GITHUB=ON`` respectively. + Fmt, ZeroMQ and rapidjson are bundled in libs. One does not need to pre-install them on the system. Alternatively, one can fetch fmt and ZeroMQ from GitHub by passing the cmake options ``-DSLS_FETCH_FMT_FROM_GITHUB=ON`` and ``-DSLS_FETCH_ZEROMQ_FROM_GITHUB=ON`` respectively. .. note:: @@ -90,7 +90,7 @@ Dependencies to build Tests To build the tests the following dependencies are needed: - * Catch2 3.4.0 (packaged in libs) + * Catch2 2.13.8 (packaged in libs) .. note:: diff --git a/docs/src/examples.rst b/docs/src/examples.rst index 65d734c8e..138f7bcf3 100644 --- a/docs/src/examples.rst +++ b/docs/src/examples.rst @@ -79,7 +79,7 @@ for communication over TCP. Most commands go on 1952 and only a few such as stop Using the return type sls::Result [e2] ----------------------------------------- -Since many our detectors have multiple modules we cannot return +Since many of our detectors have multiple modules we cannot return a single value when reading from the Detector. Hostname, Ip and also for example exposure time can differ between modules. diff --git a/docs/src/fileformat.rst b/docs/src/fileformat.rst index 4821d541a..d74a4f0b5 100644 --- a/docs/src/fileformat.rst +++ b/docs/src/fileformat.rst @@ -12,7 +12,7 @@ Every acquisition will create a master file and data files. An acquisition can have multiple data files for a single frame. The number of files is determined by the number of UDP ports per module and the number of modules. - * Every modules has its own receiver process. Every receiver process can have 1 or 2 UDP ports. + * Every module has its own receiver process. Every receiver process can have 1 or 2 UDP ports. * Each UDP port will create its own file. Therefore, each receiver can write 1 or 2 files. * So, for example a detector with 4 modules with 2 UDP ports each will create a total of 8 files with file names containing UDP port index **'_d0'** to **'_d7'**. diff --git a/docs/src/firmware.rst b/docs/src/firmware.rst index e2ad00df3..145611e57 100644 --- a/docs/src/firmware.rst +++ b/docs/src/firmware.rst @@ -18,7 +18,7 @@ Upgrade ^^^^^^^^ #. Tftp must be already installed on your pc to use the bcp script. -#. Copy new servers to the board. See :ref:`how to upgrade detector servers` for more detals. A reboot should have started the new linked servers automatically. For Eiger, do not reboot yet as we need to program the firmware via bit files. +#. Copy new servers to the board. See :ref:`how to upgrade detector servers` for more details. A reboot should have started the new linked servers automatically. For Eiger, do not reboot yet as we need to program the firmware via bit files. * This step is crucial when registers between firmwares change. Failure to do so will result in linux on boards to crash and boards can't be pinged anymore. @@ -119,7 +119,7 @@ Program from console # Always ensure that the client and server software are of the same release. # copies server, links new server to jungfrauDetectorServer, - # removes old server from respawn, sets up new lnked server to respawn + # removes old server from respawn, sets up new linked server to respawn # programs fpga, reboots # older versions: v5.0.0 - 6.0.0 using tftp from tftp folder of pc @@ -153,7 +153,7 @@ Program from console # Always ensure that the client and server software are of the same release. # copies server, links new server to mythen3DetectorServer, - # removes old server from respawn, sets up new lnked server to respawn + # removes old server from respawn, sets up new linked server to respawn # programs fpga, reboots # older versions: v5.0.0 - 6.0.0 using tftp from tftp folder of pc @@ -187,7 +187,7 @@ Program from console # Always ensure that the client and server software are of the same release. # copies server, links new server to gotthard2DetectorServer, - # removes old server from respawn, sets up new lnked server to respawn + # removes old server from respawn, sets up new linked server to respawn # programs fpga, reboots # older versions: v5.0.0 - 6.0.0 using tftp from tftp folder of pc @@ -238,7 +238,7 @@ Program from console # Always ensure that the client and server software are of the same release. # copies server, links new server to moenchDetectorServer, - # removes old server from respawn, sets up new lnked server to respawn + # removes old server from respawn, sets up new linked server to respawn # programs fpga, reboots # older versions: v5.0.0 - 6.0.0 using tftp from tftp folder of pc @@ -273,7 +273,7 @@ Program from console # Always ensure that the client and server software are of the same release. # copies server, links new server to ctbDetectorServer, - # removes old server from respawn, sets up new lnked server to respawn + # removes old server from respawn, sets up new linked server to respawn # programs fpga, reboots # older versions: v5.0.0 - 6.0.0 using tftp from tftp folder of pc @@ -295,7 +295,7 @@ Firmware Troubleshooting with blackfin 2. v5.x.x-rcx client after programming will not reboot the blackfin processor, if error occurred. -3. If a reboot occured with an incomplete firmware in flash, the blackfin will most likely not find the mtd3 drive. To see if this drive exists: +3. If a reboot occurred with an incomplete firmware in flash, the blackfin will most likely not find the mtd3 drive. To see if this drive exists: .. code-block:: bash diff --git a/docs/src/images/Client_architecture.png b/docs/src/images/Client_architecture.png deleted file mode 100644 index 17c7f2797..000000000 Binary files a/docs/src/images/Client_architecture.png and /dev/null differ diff --git a/docs/src/images/Client_architecture.svg b/docs/src/images/Client_architecture.svg new file mode 100644 index 000000000..abd7e4159 --- /dev/null +++ b/docs/src/images/Client_architecture.svg @@ -0,0 +1,3 @@ + + +
<<class>> Module
<<class>> Module
<<class>> Module
<<class>> Module
<<class>> Module
<<class>> Module
<<class>> Module (s)
<<class>> Module (s)
C++ API
C++ API
Python API%3CmxGraphModel%3E%3Croot%3E%3CmxCell%20id%3D%220%22%2F%3E%3CmxCell%20id%3D%221%22%20parent%3D%220%22%2F%3E%3CmxCell%20id%3D%222%22%20value%3D%22%26lt%3Bfont%20face%3D%26quot%3BCourier%20New%26quot%3B%26gt%3BC%2B%2B%20API%26lt%3B%2Ffont%26gt%3B%22%20style%3D%22rounded%3D1%3BwhiteSpace%3Dwrap%3Bhtml%3D1%3BfillColor%3D%2377AADD%3BstrokeColor%3D%2377AADD%3BlabelPosition%3Dcenter%3BverticalLabelPosition%3Dmiddle%3Balign%3Dcenter%3BverticalAlign%3Dmiddle%3BfontSize%3D17%3BgradientColor%3Dnone%3BfontColor%3D%23FFFFFF%3B%22%20vertex%3D%221%22%20parent%3D%221%22%3E%3CmxGeometry%20x%3D%22-180%22%20y%3D%224998%22%20width%3D%22146%22%20height%3D%2284%22%20as%3D%22geometry%22%2F%3E%3C%2FmxCell%3E%3C%2Froot%3E%3C%2FmxGraphModel%3E
Python API%3CmxGr...
CLI
CLI
Qt GUI
Qt GUI
<<class>> Detector
<<class>> Detector
slsDetectorPackage
Client (C++17)
slsDetectorPackage...
CLIENT
CLIENT
Shared Memory(s)
Shared Memory(s)
Module 3
Module 3
Module 2
Module 2
Module 1
Module 1
Module (s)
Module (s)
Module 3
Module 3
Module 2
Module 2
Module 1
Module 1
Receiver (s)
Receiver (s)
\ No newline at end of file diff --git a/docs/src/images/Client_module_commands.png b/docs/src/images/Client_module_commands.png deleted file mode 100644 index e9b71c99a..000000000 Binary files a/docs/src/images/Client_module_commands.png and /dev/null differ diff --git a/docs/src/images/Client_module_commands.svg b/docs/src/images/Client_module_commands.svg new file mode 100644 index 000000000..d12ca0615 --- /dev/null +++ b/docs/src/images/Client_module_commands.svg @@ -0,0 +1,3 @@ + + +
TCP
TCP
Client
Client
TCP
TCP
Control
Control
Module
1952 / 1953
bchip101
Module...
port     = 1952
stopport = 1953
hostname = bchip101
port     = 1952...
Module
1952 / 1953
bchip100
Module...
port     = 1952
stopport = 1953
hostname = bchip100
port     = 1952...
\ No newline at end of file diff --git a/docs/src/images/Client_receiver_commands.png b/docs/src/images/Client_receiver_commands.png deleted file mode 100644 index b3221e1c5..000000000 Binary files a/docs/src/images/Client_receiver_commands.png and /dev/null differ diff --git a/docs/src/images/Client_receiver_commands.svg b/docs/src/images/Client_receiver_commands.svg new file mode 100644 index 000000000..086fbf338 --- /dev/null +++ b/docs/src/images/Client_receiver_commands.svg @@ -0,0 +1,3 @@ + + +
Client
Client
TCP
TCP
Control
Control
Receiver
1955
pc1234
Receiver...
rx_tcpport = 1955
rx_hostname = pc1234
rx_tcpport = 1955...
Receiver
1954
pc1234
Receiver...
rx_tcpport = 1954
rx_hostname = pc1234
rx_tcpport = 1954...
TCP
TCP
\ No newline at end of file diff --git a/docs/src/images/Eiger_bottom_1.png b/docs/src/images/Eiger_bottom_1.png deleted file mode 100644 index c1b8b4617..000000000 Binary files a/docs/src/images/Eiger_bottom_1.png and /dev/null differ diff --git a/docs/src/images/Eiger_bottom_1.svg b/docs/src/images/Eiger_bottom_1.svg new file mode 100644 index 000000000..c724ed26c --- /dev/null +++ b/docs/src/images/Eiger_bottom_1.svg @@ -0,0 +1,3 @@ + + +
UDP Port 1
UDP...
UDP Port 2
UDP...
1
1
3
3
2
2
4
4
\ No newline at end of file diff --git a/docs/src/images/Eiger_bottom_2.png b/docs/src/images/Eiger_bottom_2.png deleted file mode 100644 index a96f12f4d..000000000 Binary files a/docs/src/images/Eiger_bottom_2.png and /dev/null differ diff --git a/docs/src/images/Eiger_bottom_2.svg b/docs/src/images/Eiger_bottom_2.svg new file mode 100644 index 000000000..f9cf84dd6 --- /dev/null +++ b/docs/src/images/Eiger_bottom_2.svg @@ -0,0 +1,3 @@ + + +
UDP Port 1
UDP...
UDP Port 2
UDP...
\ No newline at end of file diff --git a/docs/src/images/Eiger_bottom_3.png b/docs/src/images/Eiger_bottom_3.png deleted file mode 100644 index d60ddb4f2..000000000 Binary files a/docs/src/images/Eiger_bottom_3.png and /dev/null differ diff --git a/docs/src/images/Eiger_bottom_3.svg b/docs/src/images/Eiger_bottom_3.svg new file mode 100644 index 000000000..1217b9120 --- /dev/null +++ b/docs/src/images/Eiger_bottom_3.svg @@ -0,0 +1,3 @@ + + +
UDP Port 1
UDP...
UDP Port 2
UDP...
\ No newline at end of file diff --git a/docs/src/images/Eiger_bottom_4.png b/docs/src/images/Eiger_bottom_4.png deleted file mode 100644 index 1d3fc6e6c..000000000 Binary files a/docs/src/images/Eiger_bottom_4.png and /dev/null differ diff --git a/docs/src/images/Eiger_bottom_4.svg b/docs/src/images/Eiger_bottom_4.svg new file mode 100644 index 000000000..8b89a09f7 --- /dev/null +++ b/docs/src/images/Eiger_bottom_4.svg @@ -0,0 +1,3 @@ + + +
UDP Port 1
UDP...
UDP Port 2
UDP...
1
1
2
2
3
3
4
4
\ No newline at end of file diff --git a/docs/src/images/Eiger_module.png b/docs/src/images/Eiger_module.png deleted file mode 100644 index 44a36d072..000000000 Binary files a/docs/src/images/Eiger_module.png and /dev/null differ diff --git a/docs/src/images/Eiger_module.svg b/docs/src/images/Eiger_module.svg new file mode 100644 index 000000000..a8f4c9a4a --- /dev/null +++ b/docs/src/images/Eiger_module.svg @@ -0,0 +1,3 @@ + + +
Top Half Module
Top Half Module
1
1
2
2
UDP Port 1
UDP...
256 pixels
256 pixels
3
3
4
4
UDP Port 2
UDP...
Control Port
Cont...
256 pixels
256 pixels
Bottom Half Module
Bottom Half Module
UDP Port 1
UDP...
256 pixels
256 pixels
UDP Port 2
UDP...
1
1
3
3
2
2
4
4
256 pixels
256 pixels
Control Port
Cont...
Single Module
Single Module
\ No newline at end of file diff --git a/docs/src/images/Eiger_quad.png b/docs/src/images/Eiger_quad.png deleted file mode 100644 index 462ade28a..000000000 Binary files a/docs/src/images/Eiger_quad.png and /dev/null differ diff --git a/docs/src/images/Eiger_quad.svg b/docs/src/images/Eiger_quad.svg new file mode 100644 index 000000000..cfa951382 --- /dev/null +++ b/docs/src/images/Eiger_quad.svg @@ -0,0 +1,3 @@ + + +
1
1
2
2
256 pixels
256 pixels
4
4
3
3
256 pixels
256 pixels
UDP Port 1
UDP Po...
Control Port
Control...
Quad
(Top Half Module)
Quad...
UDP Port 2
UDP Port...
\ No newline at end of file diff --git a/docs/src/images/Eiger_read_rows.png b/docs/src/images/Eiger_read_rows.png deleted file mode 100644 index 5f2175de0..000000000 Binary files a/docs/src/images/Eiger_read_rows.png and /dev/null differ diff --git a/docs/src/images/Eiger_read_rows.svg b/docs/src/images/Eiger_read_rows.svg new file mode 100644 index 000000000..c2f4ff59e --- /dev/null +++ b/docs/src/images/Eiger_read_rows.svg @@ -0,0 +1,3 @@ + + +
1
1
2
2
UDP Port 1
UDP...
3
3
4
4
UDP Port 2
UDP...
UDP Port 1
UDP...
UDP Port 2
UDP...
3
3
2
2
4
4
1
1
\ No newline at end of file diff --git a/docs/src/images/Gotthard2_module.png b/docs/src/images/Gotthard2_module.png deleted file mode 100644 index dffbd45dd..000000000 Binary files a/docs/src/images/Gotthard2_module.png and /dev/null differ diff --git a/docs/src/images/Gotthard2_module.svg b/docs/src/images/Gotthard2_module.svg new file mode 100644 index 000000000..f59b24e63 --- /dev/null +++ b/docs/src/images/Gotthard2_module.svg @@ -0,0 +1,3 @@ + + +
Single Module
Single Module
2
2
3
3
4
4
5
5
6
6
7
7
8
8
9
9
10
10
10 Chips
10 Chips
1
1
128 channels
128 channels
Control Port
Control Po...
Veto Data Port
Veto Data P...
Data Port
Data Port
\ No newline at end of file diff --git a/docs/src/images/Jungfrau_module.png b/docs/src/images/Jungfrau_module.png deleted file mode 100644 index 5de6fccbe..000000000 Binary files a/docs/src/images/Jungfrau_module.png and /dev/null differ diff --git a/docs/src/images/Jungfrau_module.svg b/docs/src/images/Jungfrau_module.svg new file mode 100644 index 000000000..90f438373 --- /dev/null +++ b/docs/src/images/Jungfrau_module.svg @@ -0,0 +1,3 @@ + + +
Single Module
Single Module
3
3
1
1
2
2
4
4
7
7
5
5
6
6
8
8
256 pixels
256 pixels
256 pixels
256 pixels
8 Chips
8 Chips
Outer Data Port
Outer Data...
Inner Data Port
Inner Data...
Control Port
Control Po...
\ No newline at end of file diff --git a/docs/src/images/Jungfrau_read_rows.png b/docs/src/images/Jungfrau_read_rows.png deleted file mode 100644 index 701cfa913..000000000 Binary files a/docs/src/images/Jungfrau_read_rows.png and /dev/null differ diff --git a/docs/src/images/Jungfrau_read_rows.svg b/docs/src/images/Jungfrau_read_rows.svg new file mode 100644 index 000000000..66f5784e4 --- /dev/null +++ b/docs/src/images/Jungfrau_read_rows.svg @@ -0,0 +1,3 @@ + + +
3
3
1
1
2
2
4
4
7
7
5
5
6
6
8
8
Outer Data Port
Outer Data...
Inner Data Port
Inner Data...
\ No newline at end of file diff --git a/docs/src/images/Jungfrau_two_port.png b/docs/src/images/Jungfrau_two_port.png deleted file mode 100644 index cd7703111..000000000 Binary files a/docs/src/images/Jungfrau_two_port.png and /dev/null differ diff --git a/docs/src/images/Jungfrau_two_port.svg b/docs/src/images/Jungfrau_two_port.svg new file mode 100644 index 000000000..545c9dfb4 --- /dev/null +++ b/docs/src/images/Jungfrau_two_port.svg @@ -0,0 +1,3 @@ + + +
3
3
1
1
2
2
4
4
7
7
5
5
6
6
8
8
Inner Data Port
Inner Data...
Outer Data Port
Outer Data...
\ No newline at end of file diff --git a/docs/src/images/Module_architecture.png b/docs/src/images/Module_architecture.png deleted file mode 100644 index 5f5c62650..000000000 Binary files a/docs/src/images/Module_architecture.png and /dev/null differ diff --git a/docs/src/images/Module_architecture.svg b/docs/src/images/Module_architecture.svg new file mode 100644 index 000000000..c654a1ee5 --- /dev/null +++ b/docs/src/images/Module_architecture.svg @@ -0,0 +1,3 @@ + + +
Client
Client
Control Server
(C98)
Control Server...
Stop Server
(C98)
Stop Server...
Client 
Client 
On-board CPU
On-board CPU
Registers
Registers
FPGA (VHDL)
FPGA (VHDL)
UDP Generator
UDP Generator
Readout and Processing Logic
Readout and Proces...
Stop
Stop
Control
Control
Sensor & Chip
Sensor & Chip
Control
Control
Data
Data
MODULE
MODULE
Spawns
Spawns
UDP Port
UDP Port
UDP Port 2
UDP Port 2
TCP Port
Control
TCP Port...
TCP Port
Stop
TCP Port...
Receiver
Receiver
Receiver
Receiver
Data
Data
\ No newline at end of file diff --git a/docs/src/images/Module_receiver_commands.png b/docs/src/images/Module_receiver_commands.png deleted file mode 100644 index b9831a7f6..000000000 Binary files a/docs/src/images/Module_receiver_commands.png and /dev/null differ diff --git a/docs/src/images/Module_receiver_commands.svg b/docs/src/images/Module_receiver_commands.svg new file mode 100644 index 000000000..8a5788b65 --- /dev/null +++ b/docs/src/images/Module_receiver_commands.svg @@ -0,0 +1,3 @@ + + +
UDP
UDP
Receiver
pc1234
10.0.1.100
Receiver...
Raw Data 
Packets
Raw Data...
udp src port: hardcoded (32410)
udp_srcip  : 10.0.1.15
udp src port: hardcoded (32410)...
Module
bchip100
Module...
udp_dstport: 50001
udp_dstip  : 10.0.1.100
udp_dstmac : (specify for
custom receivers)
udp_dstport: 50001...
UDP
UDP
Receiver
pc1234
10.0.2.100
Receiver...
Raw Data 
Packets
Raw Data...
Module
bchip101
Module...
udp src port: hardcoded (32410)
udp_srcip  : 10.0.2.15
udp src port: hardcoded (32410)...
udp_dstport: 50002
udp_dstip  : 10.0.2.100
udp_dstmac : (specify for
custom receivers)
udp_dstport: 50002...
\ No newline at end of file diff --git a/docs/src/images/Moench_module.png b/docs/src/images/Moench_module.png deleted file mode 100644 index 975ffb325..000000000 Binary files a/docs/src/images/Moench_module.png and /dev/null differ diff --git a/docs/src/images/Moench_module.svg b/docs/src/images/Moench_module.svg new file mode 100644 index 000000000..f6a3bb867 --- /dev/null +++ b/docs/src/images/Moench_module.svg @@ -0,0 +1,3 @@ + + +
400 pixels
400 pixels
400 pixels
400 pixels
Control Port
Control Port
Outer Data Port
Outer Data...
Inner Data Port
Inner Data...
Single Module
Single Module
\ No newline at end of file diff --git a/docs/src/images/Moench_read_rows.png b/docs/src/images/Moench_read_rows.png deleted file mode 100644 index 696df2120..000000000 Binary files a/docs/src/images/Moench_read_rows.png and /dev/null differ diff --git a/docs/src/images/Moench_read_rows.svg b/docs/src/images/Moench_read_rows.svg new file mode 100644 index 000000000..c6b3f7ad3 --- /dev/null +++ b/docs/src/images/Moench_read_rows.svg @@ -0,0 +1,3 @@ + + +
Outer Data Port
Outer Data...
Inner Data Port
Inner Data...
\ No newline at end of file diff --git a/docs/src/images/Moench_two_port.png b/docs/src/images/Moench_two_port.png deleted file mode 100644 index b3c4f22d7..000000000 Binary files a/docs/src/images/Moench_two_port.png and /dev/null differ diff --git a/docs/src/images/Moench_two_port.svg b/docs/src/images/Moench_two_port.svg new file mode 100644 index 000000000..468c45925 --- /dev/null +++ b/docs/src/images/Moench_two_port.svg @@ -0,0 +1,3 @@ + + +
Inner Data Port
Inner Data...
Outer Data Port
Outer Data...
\ No newline at end of file diff --git a/docs/src/images/Mythen3_module.png b/docs/src/images/Mythen3_module.png deleted file mode 100644 index 73eccfe1f..000000000 Binary files a/docs/src/images/Mythen3_module.png and /dev/null differ diff --git a/docs/src/images/Mythen3_module.svg b/docs/src/images/Mythen3_module.svg new file mode 100644 index 000000000..2fd79812d --- /dev/null +++ b/docs/src/images/Mythen3_module.svg @@ -0,0 +1,3 @@ + + +
Single Module
Single Module
2
2
3
3
4
4
5
5
6
6
7
7
8
8
9
9
10
10
10 Chips
10 Chips
128 channels
x
3 counters
128 channels...
Control Port
Control Po...
Data Port
Data Port
\ No newline at end of file diff --git a/docs/src/images/Receiver_architecture.png b/docs/src/images/Receiver_architecture.png deleted file mode 100644 index 8aaf00af4..000000000 Binary files a/docs/src/images/Receiver_architecture.png and /dev/null differ diff --git a/docs/src/images/Receiver_architecture.svg b/docs/src/images/Receiver_architecture.svg new file mode 100644 index 000000000..cf59f0a6f --- /dev/null +++ b/docs/src/images/Receiver_architecture.svg @@ -0,0 +1,3 @@ + + +
Data Streamer
Data Streamer
Data Processor
Data Processor
Listener
Listener
Listener
Listener
Data Processor
Data Processor
Data Streamer
Data Streamer
TCP Server
TCP Server
Client 
Client 
TCP Port
Control
TCP Port...
Module
Module
UDP Port
UDP Port
Assembles 
into images in memory
Assembles...
Optional callbacks 
for online processing
Optional callbacks...
Optional File
Optional File
Optional Data Streaming
Optional Data Streaming
Module
Module
UDP Port 2
UDP Port 2
RECEIVER
RECEIVER
Data packets
Data packets
ZMQ Port
ZMQ Port
ZMQ Port 2
ZMQ Port 2
GUI
GUI
GUI
GUI
Frames
Frames
\ No newline at end of file diff --git a/docs/src/images/Receiver_external_process_commands.png b/docs/src/images/Receiver_external_process_commands.png deleted file mode 100644 index b09b80d74..000000000 Binary files a/docs/src/images/Receiver_external_process_commands.png and /dev/null differ diff --git a/docs/src/images/Receiver_external_process_commands.svg b/docs/src/images/Receiver_external_process_commands.svg new file mode 100644 index 000000000..56c43bf05 --- /dev/null +++ b/docs/src/images/Receiver_external_process_commands.svg @@ -0,0 +1,3 @@ + + +
Client / GUI
Client / GUI
External
Process
129.129.200.175
External...
Processed Data
Processed Data
ZMQ
ZMQ
Receiver streaming out
rx_zmqport = 30001

Receiver streaming out...
Receiver
pc1234
129.129.100.115
Receiver...
Receiver
pc1234
129.129.100.115
Receiver...
Receiver streaming out
rx_zmqport = 30002
Receiver streaming out...
ZMQ
ZMQ

Client listening to 
zmqport : 30004
zmqip   : 129.129.200.175

Client listening to...
External Process:
rx_zmqport (30001) != zmqport (30004)
External Process:...
ZMQ
ZMQ

Client listening to 
zmqport : 30003
zmqip   : 129.129.200.175

Client listening to...
ZMQ
ZMQ
Assembled Data
Assembled Data

External Process listening to 
Ports : 30001, 30002
Ip    : 129.129.100.115

External Process listening to...

External Process streaming out 
Ports : 30003, 30004

External Process streaming out...
\ No newline at end of file diff --git a/docs/src/images/Receiver_gui_commands.png b/docs/src/images/Receiver_gui_commands.png deleted file mode 100644 index 4cef3853f..000000000 Binary files a/docs/src/images/Receiver_gui_commands.png and /dev/null differ diff --git a/docs/src/images/Receiver_gui_commands.svg b/docs/src/images/Receiver_gui_commands.svg new file mode 100644 index 000000000..5e0146754 --- /dev/null +++ b/docs/src/images/Receiver_gui_commands.svg @@ -0,0 +1,3 @@ + + +
ZMQ
ZMQ
ZMQ
ZMQ
GUI:  
zmqport (30001) = rx_zmqport (30001)
GUI:...
Assembled Data
Assembled Data
Receiver streaming out
rx_zmqport = 30001

Receiver streaming out...
Receiver
pc1234
129.129.100.115
Receiver...
Receiver
pc1234
129.129.100.115
Receiver...
Receiver streaming out
rx_zmqport = 30002
Receiver streaming out...
Client / GUI
Client / GUI

Client listening to 
zmqport : 30002
zmqip   : 129.129.100.115

Client listening to...

Client listening to 
zmqport : 30001
zmqip   : 129.129.100.115

Client listening to...
\ No newline at end of file diff --git a/docs/src/images/Soft_upgrade_components.png b/docs/src/images/Soft_upgrade_components.png deleted file mode 100644 index cf715a90f..000000000 Binary files a/docs/src/images/Soft_upgrade_components.png and /dev/null differ diff --git a/docs/src/images/Soft_upgrade_components.svg b/docs/src/images/Soft_upgrade_components.svg new file mode 100644 index 000000000..1ece21d25 --- /dev/null +++ b/docs/src/images/Soft_upgrade_components.svg @@ -0,0 +1,3 @@ + + +
Blackfin on-board 
Detector Server
Blackfin on-board...
FPGA firmware 
(*.bit,*.pof,*.rbf)
FPGA firmware...
slsDetectorPackage
(Client & Receiver)
slsDetectorPackage...
UPGRADE COMPONENTS
UPGRADE COMPONENTS
\ No newline at end of file diff --git a/docs/src/images/System_communication_architecture.png b/docs/src/images/System_communication_architecture.png deleted file mode 100644 index 7376a0590..000000000 Binary files a/docs/src/images/System_communication_architecture.png and /dev/null differ diff --git a/docs/src/images/System_communication_architecture.svg b/docs/src/images/System_communication_architecture.svg new file mode 100644 index 000000000..af7ae4438 --- /dev/null +++ b/docs/src/images/System_communication_architecture.svg @@ -0,0 +1,3 @@ + + +
Module 3
Module 3
Module 2
Module 2
Module 1
Module 1
Module (s)
Module (s)
UDP
UDP
Client / GUI
Client / GUI
ZMQ
ZMQ
ZMQ
ZMQ
ZMQ
ZMQ
External 
Processing
Chain
External...
TCP
TCP
TCP
TCP
Control 1:N
Control 1:N
Control 1:N
Control 1:N
Raw Data Packets 1:1
Raw Data Packets 1:1
Image Data 1:N
Image Data 1:N
Assembled Data 1:N
Assembled Data 1:N
Processed Data 1:1
Processed Data 1:1
Module 3
Module 3
Module 2
Module 2
Module 1
Module 1
Receiver (s)
Receiver (s)
Option 1: Directly 
Option 1: Directly 
Option 2: Indirectly
Option 2: Indirectly
Detector
Detector
\ No newline at end of file diff --git a/docs/src/index.rst b/docs/src/index.rst index 498543384..8a5044cea 100644 --- a/docs/src/index.rst +++ b/docs/src/index.rst @@ -52,7 +52,7 @@ slsDetectorPackage pyenums pypower pyexamples - pyPatternGenerator + pypatterngenerator pattern .. toctree:: diff --git a/docs/src/installation.rst b/docs/src/installation.rst index f9b98b48e..926248843 100644 --- a/docs/src/installation.rst +++ b/docs/src/installation.rst @@ -126,7 +126,7 @@ One can either build using cmake or use the in-built cmk.sh script. .. code-block:: bash - # outside slsDetecorPackage folder + # outside slsDetectorPackage folder mkdir build && cd build # configure & generate Makefiles using cmake by listing all your options @@ -148,7 +148,7 @@ libraries and headers in your project, specify the install directory .. code-block:: bash - # outside slsDetecorPackage folder + # outside slsDetectorPackage folder mkdir build && cd build # configure & generate Makefiles cmake ../slsDetectorPackage -DCMAKE_INSTALL_PREFIX=/your/install/path @@ -253,7 +253,7 @@ using this compiler conda create -n myenv gxx_linux-64 cmake conda activate myenv - # outside slsDetecorPackage folder + # outside slsDetectorPackage folder mkdir build && cd build cmake ../slsDetectorPackage -DCMAKE_PREFIX_PATH=$CONDA_PREFIX make -j12 @@ -311,7 +311,7 @@ using this compiler # activate environment conda activate slsgui - # compile with cmake outside slsDetecorPackage folder + # compile with cmake outside slsDetectorPackage folder mkdir build && cd build cmake ../slsDetectorPackage -DSLS_USE_GUI=ON make -j12 @@ -341,7 +341,7 @@ is to use conda .. code-block:: bash # using cmake or ccmake to enable DSLS_BUILD_DOCS - # outside slsDetecorPackage folder + # outside slsDetectorPackage folder mkdir build && cd build cmake ../slsDetectorPackage -DSLS_BUILD_DOCS=ON diff --git a/docs/src/masterfileattributes.rst b/docs/src/masterfileattributes.rst index 5190ee647..3283de36f 100644 --- a/docs/src/masterfileattributes.rst +++ b/docs/src/masterfileattributes.rst @@ -32,7 +32,7 @@ Eiger +-----------------------+-------------------------------------------------+ | Max Frames Per File | Maximum frames per file | +-----------------------+-------------------------------------------------+ - | Frame Discard Policy | Receiever Frame discard policy | + | Frame Discard Policy | Receiver Frame discard policy | | | for partial frames | +-----------------------+-------------------------------------------------+ | Frame Padding | Receiver Frame padding enable | @@ -95,7 +95,7 @@ Jungfrau +-----------------------+-------------------------------------------------+ | Max Frames Per File | Maximum frames per file | +-----------------------+-------------------------------------------------+ - | Frame Discard Policy | Receiever Frame discard policy | + | Frame Discard Policy | Receiver Frame discard policy | | | for partial frames | +-----------------------+-------------------------------------------------+ | Frame Padding | Receiver Frame padding enable | @@ -146,7 +146,7 @@ Gotthard II +-----------------------+-------------------------------------------------+ | Max Frames Per File | Maximum frames per file | +-----------------------+-------------------------------------------------+ - | Frame Discard Policy | Receiever Frame discard policy | + | Frame Discard Policy | Receiver Frame discard policy | | | for partial frames | +-----------------------+-------------------------------------------------+ | Frame Padding | Receiver Frame padding enable | @@ -195,7 +195,7 @@ Mythen3 +-----------------------+-------------------------------------------------+ | Max Frames Per File | Maximum frames per file | +-----------------------+-------------------------------------------------+ - | Frame Discard Policy | Receiever Frame discard policy | + | Frame Discard Policy | Receiver Frame discard policy | | | for partial frames | +-----------------------+-------------------------------------------------+ | Frame Padding | Receiver Frame padding enable | @@ -262,7 +262,7 @@ Moench +-----------------------+-------------------------------------------------+ | Max Frames Per File | Maximum frames per file | +-----------------------+-------------------------------------------------+ - | Frame Discard Policy | Receiever Frame discard policy | + | Frame Discard Policy | Receiver Frame discard policy | | | for partial frames | +-----------------------+-------------------------------------------------+ | Frame Padding | Receiver Frame padding enable | @@ -315,7 +315,7 @@ Chip Test Board +-----------------------+-------------------------------------------------+ | Max Frames Per File | Maximum frames per file | +-----------------------+-------------------------------------------------+ - | Frame Discard Policy | Receiever Frame discard policy | + | Frame Discard Policy | Receiver Frame discard policy | | | for partial frames | +-----------------------+-------------------------------------------------+ | Frame Padding | Receiver Frame padding enable | diff --git a/docs/src/multidet.rst b/docs/src/multidet.rst index 4e74854c8..52489a443 100644 --- a/docs/src/multidet.rst +++ b/docs/src/multidet.rst @@ -79,7 +79,7 @@ the shared memory segments would be: The main difference between the command line and the Python API is that you set the index when you create the detector object and you don't have to repeat it for every call. -The C++ API works int the same way. +The C++ API works in the same way. .. code-block:: python diff --git a/docs/src/pattern.rst b/docs/src/pattern.rst index d3515d941..40aab7159 100644 --- a/docs/src/pattern.rst +++ b/docs/src/pattern.rst @@ -125,6 +125,6 @@ For Mythen3 the pattern word only connects to output pins of the FPGA when the p In the default configuration the Ctb will send out udp packets to the sls_receiver for every end of a pattern execution. This behavior can be changed using STREAMING_CTRL_REG, where one can configure a bit position in the 64-bit pattern word to trigger udp packets. This allows to send more than one packet per pattern or also no packets at all. -The "patternstart" command on the ctb exectues the pattern. As long as streaming_ctrl_reg is disabeld, every pattern execution using this command will not send UDP packets. +The "patternstart" command on the ctb executes the pattern. As long as streaming_ctrl_reg is disabled, every pattern execution using this command will not send UDP packets. For Mythen3 the sending of udp packets is not connected to pattern execution. \ No newline at end of file diff --git a/docs/src/pyenums.rst b/docs/src/pyenums.rst index 2c177e618..1d36e6d68 100644 --- a/docs/src/pyenums.rst +++ b/docs/src/pyenums.rst @@ -14,7 +14,7 @@ exposed to Python through pybind11. d = Detector() d.fformat = fileFormat.BINARY - # Altough not recommended for convenience all enums + # Although not recommended for convenience all enums # and some other things can be impored using * from slsdet import * @@ -24,7 +24,7 @@ exposed to Python through pybind11. import slsdet.enums for enum in dir(slsdet.enums): - # filter out special memebers + # filter out special members if not enum.startswith('_'): print(enum) diff --git a/docs/src/pyexamples.rst b/docs/src/pyexamples.rst index 1d7eedd4b..2acc178e3 100755 --- a/docs/src/pyexamples.rst +++ b/docs/src/pyexamples.rst @@ -2,7 +2,7 @@ Examples ================ Some short examples on how to use slsdet. If something is missing don't hesitate to -open an issue in our our `github repo +open an issue in our `github repo `_. @@ -62,7 +62,7 @@ datetime.timedelta, DurationWrapper or by setting the time in seconds. Converting numbers to hex ------------------------------------ -Python support entering numbers in format by using the 0x prefix. However, when reading +Python supports entering numbers in format by using the 0x prefix. However, when reading back you will get a normal integer. This can then be converted to a hex string representation using the built in hex() function. @@ -159,7 +159,7 @@ Non blocking acquire There are mainly two ways to achieve a non blocking acquire when calling from the Python API. One is to manually start the detector and the second one is to launch the normal acquire from a different process. Depending on your measurement -it might also be better to run the other task in a seperate process and use acq in the main thread. +it might also be better to run the other task in a separate process and use acq in the main thread. But lets start looking at the at the manual way: :: diff --git a/docs/src/pygettingstarted.rst b/docs/src/pygettingstarted.rst index 6f234d5ae..311dda940 100644 --- a/docs/src/pygettingstarted.rst +++ b/docs/src/pygettingstarted.rst @@ -11,7 +11,7 @@ Python installation. The examples in this documentation uses `conda `_ since it provides good support also for non Python packages but there are also other alternatives like, pyenv. -Using something like conda also allows you to quickly switch beteen different Python +Using something like conda also allows you to quickly switch between different Python environments. --------------------- diff --git a/docs/src/pyPatternGenerator.rst b/docs/src/pypatterngenerator.rst similarity index 100% rename from docs/src/pyPatternGenerator.rst rename to docs/src/pypatterngenerator.rst diff --git a/docs/src/quick_start_guide.rst b/docs/src/quick_start_guide.rst index 41430cb66..ad5fd3842 100644 --- a/docs/src/quick_start_guide.rst +++ b/docs/src/quick_start_guide.rst @@ -67,7 +67,7 @@ For a Single Module udp_dstport 50012 # 1g data out - # source udp ips must be same subnet at destintaion udp ips + # source udp ips must be same subnet at destination udp ips # udp_srcip 192.168.1.112 # destination udp ip picked up from rx_hostname (if auto) # udp_dstip auto @@ -88,7 +88,7 @@ For a Single Module with custom Receiver (not slsReceiver) # sets destination udp ports (not needed, default is 50001) udp_dstport 50012 - # source udp ips must be same subnet at destintaion udp ips + # source udp ips must be same subnet at destination udp ips udp_srcip 192.168.1.112 # destination udp ip @@ -118,7 +118,7 @@ For Multiple Modules # increasing udp ports (multi detector command) udp_dstport 50012 - # source udp ips must be same subnet at destintaion udp ips + # source udp ips must be same subnet at destination udp ips 0:udp_srcip 192.168.1.112 1:udp_srcip 192.168.1.114 @@ -164,7 +164,7 @@ Compile with SLS_USE_GUI=ON in cmake or -g option in cmk.sh script. One can also .. note :: - | The streaming high water mark (commmand: rx_zmqhwm) and the receiving high water mark (command: zmqhwm) is by default the lib zmq's default (currently 1000). + | The streaming high water mark (command: rx_zmqhwm) and the receiving high water mark (command: zmqhwm) is by default the lib zmq's default (currently 1000). | At Gui startup, these values are set to 2. Hence, for very fast detectors, many frames will be dropped to be able to view the latest in the gui. | One can still change this setting in the gui in the Plot tab (ZMQ Streaming), from the command line or API. | Both hwm's can be set to a -1 to use the lib's default. diff --git a/docs/src/serverupgrade.rst b/docs/src/serverupgrade.rst index a215da8ae..ddeca8c37 100644 --- a/docs/src/serverupgrade.rst +++ b/docs/src/serverupgrade.rst @@ -23,7 +23,7 @@ Upgrade .. code-block:: bash # the following command copies new server, creates a soft link to xxxDetectorServerxxx - # [Jungfrau][CTB][Moench] also deletes the old server binary and edits initttab to respawn server on reboot + # [Jungfrau][CTB][Moench] also deletes the old server binary and edits inittab to respawn server on reboot # Then, the detector controller will reboot (except Eiger) sls_detector_put updatedetectorserver /complete-path-to-binary/xxxDetectorServerxxx @@ -42,7 +42,7 @@ Upgrade .. code-block:: bash # the following command copies new server from pc tftp folder, creates a soft link to xxxDetectorServerxxx - # [Jungfrau][CTB][Moench] also edits initttab to respawn server on reboot + # [Jungfrau][CTB][Moench] also edits inittab to respawn server on reboot # Then, the detector controller will reboot (except Eiger) sls_detector_put copydetectorserver xxxDetectorServerxxx pcxxx diff --git a/docs/src/slsreceiver.rst b/docs/src/slsreceiver.rst index d0bceff0a..07125d056 100644 --- a/docs/src/slsreceiver.rst +++ b/docs/src/slsreceiver.rst @@ -28,7 +28,7 @@ There are three main receiver types. How to start them is described :ref:`below< +======================+====================+=========================================+================================+ | Modules Supported | 1 | Multiple | Multiple | +----------------------+--------------------+-----------------------------------------+--------------------------------+ -| Internal Architecture| Threads per porttt | Multiple child processes of slsReceiver | Multi-threading of slsReceiver | +| Internal Architecture| Threads per port | Multiple child processes of slsReceiver | Multi-threading of slsReceiver | +----------------------+--------------------+-----------------------------------------+--------------------------------+ | ZMQ Streaming | Disabled by default| Disabled by default | Enabled, not optional | +----------------------+--------------------+-----------------------------------------+--------------------------------+ diff --git a/docs/src/slsreceiverheaderformat.rst b/docs/src/slsreceiverheaderformat.rst index 9449db88f..ff85bd1d0 100644 --- a/docs/src/slsreceiverheaderformat.rst +++ b/docs/src/slsreceiverheaderformat.rst @@ -37,4 +37,4 @@ It is 112 bytes and consists of: | The **packetNumber** from detector UDP header is modified in **sls_receiver_header** to number of packets caught by receiver for that frame and the bit mask for each packet caught is the **packetsMask**. The packetsMask is a total of 512 bits due to the largest number of packets per frame among our detectors. -| For eg. Jungfrau has 128 packets per frame. If **packetNumeber** is 128, then this frame is complete. If it is 127 or less, it is a partial frame due to missing packets. If one would still like to use it, the **packetsMask** will specify which packet has been received or is missing. +| For eg. Jungfrau has 128 packets per frame. If **packetNumber** is 128, then this frame is complete. If it is 127 or less, it is a partial frame due to missing packets. If one would still like to use it, the **packetsMask** will specify which packet has been received or is missing. diff --git a/docs/src/softwarearchitecture.rst b/docs/src/softwarearchitecture.rst index b4c56dc86..8638924b1 100644 --- a/docs/src/softwarearchitecture.rst +++ b/docs/src/softwarearchitecture.rst @@ -7,8 +7,8 @@ Software Architecture Introduction ------------------------------------ -.. figure:: images/System_communication_architecture.png - :target: _images/System_communication_architecture.png +.. figure:: images/System_communication_architecture.svg + :target: _images/System_communication_architecture.svg :width: 700px :align: center :alt: System communication architecture @@ -46,8 +46,8 @@ Next, each component is examined in detail. Module ------- -.. figure:: images/Module_architecture.png - :target: _images/Module_architecture.png +.. figure:: images/Module_architecture.svg + :target: _images/Module_architecture.svg :width: 700px :align: center :alt: Module architecture @@ -66,8 +66,8 @@ The module also includes an FPGA with VHDL firmware (file format depends on the Upgrade ^^^^^^^^ -.. figure:: images/Soft_upgrade_components.png - :target: _images/Soft_upgrade_components.png +.. figure:: images/Soft_upgrade_components.svg + :target: _images/Soft_upgrade_components.svg :width: 700px :align: center :alt: Software Upgrade Components @@ -80,7 +80,7 @@ There are mainly three components to the soft upgrade: * Firmware upgrade: The VHDL code running on the FPGA. * slsDetectorPackage upgrade: The client code running on the host PC to control the module(s) and receiver(s) if any. -Please use the `update command `_ when updating both the server and firmware simulataneously and `programfpga command `_ when only updating the firmware. See :ref:`firmware upgrade ` for details. +Please use the `update command `_ when updating both the server and firmware simultaneously and `programfpga command `_ when only updating the firmware. See :ref:`firmware upgrade ` for details. When only updating the detector server, use the `updatedetectorserver command `_ command. See :ref:`detector server upgrade ` for details. @@ -97,8 +97,8 @@ When only updating the detector server, use the `updatedetectorserver command 10k). * Check to see if the 10G link is up (blue or red LED on board, close to SFP+). If not: - * Check transeiver and fibers are compatible (all MMF 850nm or all SMF 1030nm) + * Check transceiver and fibers are compatible (all MMF 850nm or all SMF 1030nm) * Check fiber * Check fiber polarity (if short range, unplug the link anywhere, and look at the light/dark pattern: dark has to mate with light) * For Jungfrau, check if the blue sfp light is blinking rapidly (even when it is not sending data). If so, most likely the link is down and something is wrong with the board. If it connected to a switch, then you do not see it with the ethtool command if link is down. One option is to connect it directly to a pc to see if link is down. - * With nc, try "nc -u -p 50001 -l" in receiving pc, and from another pc try "echo hallo | nc -u 10.1.2.172 50001" to send something to the recieving pc interface to see if the link is up and see if the other nc console receives the hallo. + * With nc, try "nc -u -p 50001 -l" in receiving pc, and from another pc try "echo hallo | nc -u 10.1.2.172 50001" to send something to the receiving pc interface to see if the link is up and see if the other nc console receives the hallo. #. Detector is not acquiring (Not Eiger) * Take an acquisition with many images and using the following steps instead of acquire: @@ -279,7 +279,7 @@ Receiver PC Tuning Options # enable or disable permanently sudo systemctl enable cpupower -#. Give user speicific user scheduling privileges. +#. Give user specific scheduling privileges. .. code-block:: bash # edit /etc/security/limits.conf @@ -365,7 +365,7 @@ For errors due to access or size, use any of the following suggestions. # shared memory ending in jfxx export SLSDETNAME=jfxx - #. USe a different multi shared memory ID + #. Use a different multi shared memory ID .. code-block:: bash sls_detector_put 2-config xxxx.config @@ -447,15 +447,15 @@ Check if the control board or the flat band cable is connected properly. If not, Jungfrau --------- -Temperature event occured -^^^^^^^^^^^^^^^^^^^^^^^^^ +Temperature event occurred +^^^^^^^^^^^^^^^^^^^^^^^^^^^ This will occur only if: * temp_threshold (threshold temperature) has been set to a value * temp_control (temperature control) set to 1 -* and the temperature overshooted the threshold temperature. +* and the temperature overshot the threshold temperature. **Consequence** -* sls_detector_get temp_event will give 1 # temperature event occured +* sls_detector_get temp_event will give 1 # temperature event occurred * the chip will be powered off **Solution** @@ -492,7 +492,7 @@ Cannot get multi module data Cannot stop slaves in sync mode ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -#. If cabling is accessible, ensure termination board and flatband cable between the masters and the slaves are connnected properly. Then try to stop. +#. If cabling is accessible, ensure termination board and flatband cable between the masters and the slaves are connected properly. Then try to stop. #. If cabling is inaccessible, unsync first so that the slaves can get the stop directly from the client using the command. Then, don't use sync mode until the cabling is fixed. .. code-block:: bash diff --git a/docs/src/udpconfig.rst b/docs/src/udpconfig.rst index 847b11899..e54f52ad2 100644 --- a/docs/src/udpconfig.rst +++ b/docs/src/udpconfig.rst @@ -23,7 +23,7 @@ udp_srcmac - Source MAC MAC address of detector UDP interface to send packets from. Do not use for Eiger (uses hardware mac). For others, it is not necessary, but can help for switch and debugging to put unique values for each module. -udp_dstport - Desintation Port +udp_dstport - Destination Port ------------------------------- Port in receiver pc to listen to packets from the detector. diff --git a/docs/src/virtualserver.rst b/docs/src/virtualserver.rst index 239e51490..bbe78a5eb 100644 --- a/docs/src/virtualserver.rst +++ b/docs/src/virtualserver.rst @@ -85,7 +85,7 @@ For a Single Module (With Options) # sets destination udp ports (not needed, default is 50001) udp_dstport 50012 - # source udp ips must be same subnet at destintaion udp ips + # source udp ips must be same subnet at destination udp ips # takes the same ip as hostname udp_srcip auto @@ -111,7 +111,7 @@ For Multiple Modules # sets increasing destination udp ports udp_dstport 50012 - # source udp ips must be same subnet at destintaion udp ips + # source udp ips must be same subnet at destination udp ips 0:udp_srcip 192.168.1.112 1:udp_srcip 192.168.1.114 diff --git a/psi-pmodules/DetectorSoftware/slsDetectorPackage/build b/psi-pmodules/DetectorSoftware/slsDetectorPackage/build deleted file mode 100755 index 3657b1f60..000000000 --- a/psi-pmodules/DetectorSoftware/slsDetectorPackage/build +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env modbuild - -pbuild::set_download_url "https://github.com/slsdetectorgroup/$P/archive/refs/tags/${V_PKG}.tar.gz" - -pbuild::add_to_group 'DetectorSoftware' -pbuild::add_configure_args '-DSLS_USE_SIMULATOR=ON' -pbuild::add_configure_args '-DSLS_USE_GUI=ON' - -if (( V_MAJOR < 7 )); then - pbuild::add_patch 'files/fname-fix.patch' -fi - -# Local Variables: -# mode: sh -# sh-basic-offset: 8 -# tab-width: 8 -# End: diff --git a/psi-pmodules/DetectorSoftware/slsDetectorPackage/files/fname-fix.patch b/psi-pmodules/DetectorSoftware/slsDetectorPackage/files/fname-fix.patch deleted file mode 100644 index f773eb937..000000000 --- a/psi-pmodules/DetectorSoftware/slsDetectorPackage/files/fname-fix.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/slsSupportLib/CMakeLists.txt b/slsSupportLib/CMakeLists.txt -index efa8010..e842b3d 100755 ---- a/slsSupportLib/CMakeLists.txt -+++ b/slsSupportLib/CMakeLists.txt -@@ -46,7 +46,7 @@ if(SLS_DEVEL_HEADERS) - include/sls/versionAPI.h - include/sls/ZmqSocket.h - include/sls/bit_utils.h -- include/sls/mdf5.h -+ include/sls/md5.h - include/sls/md5_helper.h - ) - endif() diff --git a/psi-pmodules/DetectorSoftware/slsDetectorPackage/files/variants b/psi-pmodules/DetectorSoftware/slsDetectorPackage/files/variants deleted file mode 100644 index f546606f3..000000000 --- a/psi-pmodules/DetectorSoftware/slsDetectorPackage/files/variants +++ /dev/null @@ -1,17 +0,0 @@ -slsDetectorPackage/6.1.1 stable cmake/3.15.5 zeromq/4.3.4 -slsDetectorPackage/7.0.1_rh7 stable cmake/3.15.5 zeromq/4.3.4 Qt/5.12.10 -slsDetectorPackage/7.0.1_rh8 stable cmake/3.15.5 zeromq/4.3.4 Qt/5.12.10 -slsDetectorPackage/7.0.2_rh7 stable cmake/3.15.5 zeromq/4.3.4 Qt/5.12.10 -slsDetectorPackage/7.0.2_rh8 stable cmake/3.15.5 zeromq/4.3.4 Qt/5.12.10 -slsDetectorPackage/7.0.3_rh7 stable cmake/3.15.5 zeromq/4.3.4 Qt/5.12.10 -slsDetectorPackage/7.0.3_rh8 stable cmake/3.15.5 zeromq/4.3.4 Qt/5.12.10 -slsDetectorPackage/8.0.0_rh7 stable cmake/3.15.5 Qt/5.12.10 -slsDetectorPackage/8.0.0_rh8 stable cmake/3.15.5 Qt/5.12.10 -slsDetectorPackage/8.0.1_rh7 stable cmake/3.15.5 Qt/5.12.10 -slsDetectorPackage/8.0.1_rh8 stable cmake/3.15.5 Qt/5.12.10 -slsDetectorPackage/8.0.2_rh7 stable cmake/3.15.5 Qt/5.12.10 -slsDetectorPackage/8.0.2_rh8 stable cmake/3.15.5 Qt/5.12.10 -slsDetectorPackage/9.0.0_rh8 stable cmake/3.15.5 Qt/5.12.10 -slsDetectorPackage/9.1.0_rh8 stable cmake/3.15.5 Qt/5.12.10 -slsDetectorPackage/9.1.1_rh8 stable cmake/3.15.5 Qt/5.12.10 -slsDetectorPackage/9.2.0_rh8 stable cmake/3.15.5 Qt/5.12.10 diff --git a/psi-pmodules/DetectorSoftware/slsDetectorPackage/files/variants.yaml b/psi-pmodules/DetectorSoftware/slsDetectorPackage/files/variants.yaml deleted file mode 100644 index 8725ca71b..000000000 --- a/psi-pmodules/DetectorSoftware/slsDetectorPackage/files/variants.yaml +++ /dev/null @@ -1,3 +0,0 @@ -slsDetectorPackage/6.1.1: - - relstage: unstable - build_requires: cmake/3.15.5 zeromq/4.3.4 diff --git a/psi-pmodules/DetectorSoftware/slsDetectorPackage/modulefile b/psi-pmodules/DetectorSoftware/slsDetectorPackage/modulefile deleted file mode 100644 index 0008cc87a..000000000 --- a/psi-pmodules/DetectorSoftware/slsDetectorPackage/modulefile +++ /dev/null @@ -1,9 +0,0 @@ -#%Module1.0 - -module-whatis "SLS detector package" -module-url "https://www.psi.ch/en/lxn/software-releases" -module-license "GNU LGPL 3.0" -module-maintainer "Lars Erik Froejdh " - -module-help " -" diff --git a/python/slsdet/detector.py b/python/slsdet/detector.py index 211ddc602..f5f34f021 100755 --- a/python/slsdet/detector.py +++ b/python/slsdet/detector.py @@ -2140,6 +2140,8 @@ class Detector(CppDetectorApi): firmware_febl = "Unknown" firmware_febr = "Unknown" firmware_beb = "Unknown" + jungfrau = False + chip = "Unknown" receiver_in_shm = False release = self.packageversion @@ -2149,6 +2151,7 @@ class Detector(CppDetectorApi): # shared memory has detectors type = self.type eiger = (self.type == detectorType.EIGER) + jungfrau = (self.type == detectorType.JUNGFRAU) receiver_in_shm = self.use_receiver if receiver_in_shm: # cannot connect to receiver @@ -2166,6 +2169,8 @@ class Detector(CppDetectorApi): firmware_beb = self.firmwareversion firmware_febl = self.getFrontEndFirmwareVersion(slsDetectorDefs.fpgaPosition.FRONT_LEFT) firmware_febr = self.getFrontEndFirmwareVersion(slsDetectorDefs.fpgaPosition.FRONT_RIGHT) + if jungfrau: + chip = self.chipversion except Exception as e: pass @@ -2178,6 +2183,8 @@ class Detector(CppDetectorApi): version_list ['firmware (Febr)'] = {firmware_febr} else: version_list ['firmware'] = {firmware} + if jungfrau: + version_list ['chip'] = {chip} version_list ['detectorserver'] = {detectorserver} version_list ['kernel'] = kernel version_list ['hardware'] = hardware @@ -2347,8 +2354,8 @@ class Detector(CppDetectorApi): Note ----- Default: AUTO_TIMING \n - [Jungfrau][Moench][Ctb][Gotthard2][Xilinx Ctb] AUTO_TIMING, TRIGGER_EXPOSURE \n - [Mythen3] AUTO_TIMING, TRIGGER_EXPOSURE, GATED, TRIGGER_GATED \n + [Jungfrau][Moench][Ctb][Gotthard2] AUTO_TIMING, TRIGGER_EXPOSURE \n + [Mythen3][Xilinx Ctb] AUTO_TIMING, TRIGGER_EXPOSURE, GATED, TRIGGER_GATED \n [Eiger] AUTO_TIMING, TRIGGER_EXPOSURE, GATED, BURST_TRIGGER """ return self.getTimingMode() @@ -2738,12 +2745,12 @@ class Detector(CppDetectorApi): @element def chipversion(self): """ - [Jungfrau] Chip version of module. Can be 1.0 or 1.1. + [Jungfrau] Chip version of module. Example ------- >>> d.chipversion - '1.0' + '1.2 Normal' """ return self.getChipVersion() diff --git a/python/src/detector.cpp b/python/src/detector.cpp index 647b77974..59661ad36 100644 --- a/python/src/detector.cpp +++ b/python/src/detector.cpp @@ -1197,10 +1197,11 @@ void init_det(py::module &m) { CppDetectorApi.def( "setTop", (void (Detector::*)(bool, sls::Positions)) & Detector::setTop, py::arg(), py::arg() = Positions{}); - CppDetectorApi.def("getChipVersion", - (Result(Detector::*)(sls::Positions) const) & - Detector::getChipVersion, - py::arg() = Positions{}); + CppDetectorApi.def( + "getChipVersion", + (Result(Detector::*)(sls::Positions) const) & + Detector::getChipVersion, + py::arg() = Positions{}); CppDetectorApi.def("getThresholdTemperature", (Result(Detector::*)(sls::Positions) const) & Detector::getThresholdTemperature, diff --git a/slsDetectorServers/jungfrauDetectorServer/RegisterDefs.h b/slsDetectorServers/jungfrauDetectorServer/RegisterDefs.h index f1f81d863..6ea71da55 100644 --- a/slsDetectorServers/jungfrauDetectorServer/RegisterDefs.h +++ b/slsDetectorServers/jungfrauDetectorServer/RegisterDefs.h @@ -108,6 +108,12 @@ #define CONFIG_V11_STATUS_FLTR_CLL_MSK (0x00000FFF << CONFIG_V11_STATUS_FLTR_CLL_OFST) #define CONFIG_V11_STATUS_STRG_CLL_OFST (12) #define CONFIG_V11_STATUS_STRG_CLL_MSK (0x0000000F << CONFIG_V11_STATUS_STRG_CLL_OFST) + +// replacing for v1.2 +#define CONFIG_V12_STATUS_STRG_CLL_OFST (0) +#define CONFIG_V12_STATUS_STRG_CLL_MSK (0x0000FFFF << CONFIG_V12_STATUS_STRG_CLL_OFST) + + // CSM mode = high current (100%), low current (16%) #define CONFIG_V11_STATUS_CRRNT_SRC_LOW_OFST (19) #define CONFIG_V11_STATUS_CRRNT_SRC_LOW_MSK (0x00000001 << CONFIG_V11_STATUS_CRRNT_SRC_LOW_OFST) @@ -236,8 +242,6 @@ #define CONTROL_ACQ_FIFO_CLR_MSK (0x00000001 << CONTROL_ACQ_FIFO_CLR_OFST) #define CONTROL_MASTER_OFST (15) #define CONTROL_MASTER_MSK (0x00000001 << CONTROL_MASTER_OFST) -#define CONTROL_STORAGE_CELL_NUM_OFST (16) -#define CONTROL_STORAGE_CELL_NUM_MSK (0x0000000F << CONTROL_STORAGE_CELL_NUM_OFST) #define CONTROL_RX_ADDTNL_ENDPTS_NUM_OFST (20) #define CONTROL_RX_ADDTNL_ENDPTS_NUM_MSK (0x0000003F << CONTROL_RX_ADDTNL_ENDPTS_NUM_OFST) #define CONTROL_RX_ENDPTS_START_OFST (26) @@ -261,6 +265,21 @@ #define PLL_CNTRL_ADDR_MSK (0x0000003F << PLL_CNTRL_ADDR_OFST) +/** Storage cell Register */ +#define STORAGE_CELL_REG (0x56 << MEM_MAP_SHIFT) + +#define STORAGE_CELL_START_OFST (0) +#define STORAGE_CELL_START_MSK (0x000000FF << STORAGE_CELL_START_OFST) +#define STORAGE_CELL_NUM_ADDTNL_OFST (8) +#define STORAGE_CELL_NUM_ADDTNL_MSK (0x000000FF << STORAGE_CELL_NUM_ADDTNL_OFST) +// tET = (ET + 1) * 25ns (increase timeout range between 2 consecutive storage +// cells) +#define STORAGE_CELL_EXPSRE_TMR_OFST (16) +#define STORAGE_CELL_EXPSRE_TMR_MSK (0x0000FFFF << STORAGE_CELL_EXPSRE_TMR_OFST) +#define STORAGE_CELL_EXPSRE_TMR_MAX_VAL (0x0000FFFF / (CLK_RUN * 1E-3)) + + + /* Pedestal Mode Regiser */ #define PEDESTAL_MODE_REG (0x57 << MEM_MAP_SHIFT) @@ -271,13 +290,18 @@ #define PEDESTAL_MODE_ENBLE_OFST (31) #define PEDESTAL_MODE_ENBLE_MSK (0x00000001 << PEDESTAL_MODE_ENBLE_OFST) -/* Config Register for chip 1.1 */ +/* Config Register for chip 1.1 and chip 1.2 */ #define CONFIG_V11_REG (0x58 << MEM_MAP_SHIFT) #define CONFIG_V11_FLTR_CLL_OFST (0) #define CONFIG_V11_FLTR_CLL_MSK (0x00000FFF << CONFIG_V11_FLTR_CLL_OFST) #define CONFIG_V11_STRG_CLL_OFST (12) #define CONFIG_V11_STRG_CLL_MSK (0x0000000F << CONFIG_V11_STRG_CLL_OFST) +// replacing for v1.2 +#define CONFIG_V12_STRG_CLL_OFST (0) +#define CONFIG_V12_STRG_CLL_MSK (0x0000FFFF << CONFIG_V12_STRG_CLL_OFST) + + // CSM mode = high current (100%), low current (16%) #define CONFIG_V11_CRRNT_SRC_LOW_OFST (19) #define CONFIG_V11_CRRNT_SRC_LOW_MSK (0x00000001 << CONFIG_V11_CRRNT_SRC_LOW_OFST) @@ -336,6 +360,7 @@ #define SAMPLE_DECMT_FACTOR_HALF_VAL ((0x1 << SAMPLE_DGTL_DECMT_FACTOR_OFST) & SAMPLE_DGTL_DECMT_FACTOR_MSK) #define SAMPLE_DECMT_FACTOR_QUARTER_VAL ((0x2 << SAMPLE_DGTL_DECMT_FACTOR_OFST) & SAMPLE_DGTL_DECMT_FACTOR_MSK) + /** Current Source Column 0 (0 - 31)) */ #define CRRNT_SRC_COL_LSB_REG (0x5A << MEM_MAP_SHIFT) @@ -366,10 +391,11 @@ #define DAQ_FIX_GAIN_STG_2_VAL ((0x3 << DAQ_FIX_GAIN_OFST) & DAQ_FIX_GAIN_MSK) #define DAQ_CMP_RST_OFST (4) #define DAQ_CMP_RST_MSK (0x00000001 << DAQ_CMP_RST_OFST) -#define DAQ_CHIP11_VRSN_OFST (7) -#define DAQ_CHIP11_VRSN_MSK (0x00000001 << DAQ_CHIP11_VRSN_OFST) -#define DAQ_STRG_CELL_SLCT_OFST (8) -#define DAQ_STRG_CELL_SLCT_MSK (0x0000000F << DAQ_STRG_CELL_SLCT_OFST) +#define DAQ_CHIP_VRSN_OFST (5) +#define DAQ_CHIP_VRSN_MSK (0x00000007 << DAQ_CHIP_VRSN_OFST) +#define DAQ_CHIP_VRSN_v1_0_VAL (0x0) +#define DAQ_CHIP_VRSN_v1_1_VAL (0x1) +#define DAQ_CHIP_VRSN_v1_2_VAL (0x2) #define DAQ_FRCE_SWTCH_GAIN_OFST (12) #define DAQ_FRCE_SWTCH_GAIN_MSK (0x00000003 << DAQ_FRCE_SWTCH_GAIN_OFST) #define DAQ_FRCE_GAIN_STG_0_VAL ((0x0 << DAQ_FRCE_SWTCH_GAIN_OFST) & DAQ_FRCE_SWTCH_GAIN_MSK) @@ -406,9 +432,7 @@ #define TEMP_CTRL_OVR_TMP_EVNT_OFST (31) #define TEMP_CTRL_OVR_TMP_EVNT_MSK (0x00000001 << TEMP_CTRL_OVR_TMP_EVNT_OFST) -/* Set Delay 64 bit register */ -#define SET_DELAY_LSB_REG (0x60 << MEM_MAP_SHIFT) // different kind of delay -#define SET_DELAY_MSB_REG (0x61 << MEM_MAP_SHIFT) // different kind of delay + /* Set Triggers 64 bit register */ #define SET_CYCLES_LSB_REG (0x62 << MEM_MAP_SHIFT) @@ -472,11 +496,6 @@ Time before end of exposure when comparator is disabled */ #define ASIC_CTRL_DS_TMR_MSK (0x000000FF << ASIC_CTRL_DS_TMR_OFST) #define ASIC_CTRL_DS_TMR_VAL ((0x1F << ASIC_CTRL_DS_TMR_OFST) & ASIC_CTRL_DS_TMR_MSK) #define ASIC_CTRL_DS_TMR_CHIP1_1_VAL ((0xFF << ASIC_CTRL_DS_TMR_OFST) & ASIC_CTRL_DS_TMR_MSK) -// tET = (ET + 1) * 25ns (increase timeout range between 2 consecutive storage -// cells) -#define ASIC_CTRL_EXPSRE_TMR_OFST (16) -#define ASIC_CTRL_EXPSRE_TMR_MSK (0x0000FFFF << ASIC_CTRL_EXPSRE_TMR_OFST) -#define ASIC_CTRL_EXPSRE_TMR_MAX_VAL (0x0000FFFF / (CLK_RUN * 1E-3)) /* ADC 0 Deserializer Control */ #define ADC_DSRLZR_0_REG (0xF0 << MEM_MAP_SHIFT) diff --git a/slsDetectorServers/jungfrauDetectorServer/bin/config_jungfrau.txt b/slsDetectorServers/jungfrauDetectorServer/bin/config_jungfrau.txt index 48fea871e..2e1997cb1 100755 --- a/slsDetectorServers/jungfrauDetectorServer/bin/config_jungfrau.txt +++ b/slsDetectorServers/jungfrauDetectorServer/bin/config_jungfrau.txt @@ -1,4 +1,9 @@ +#chipversion Options +#"v1.0" +#"v1.1" +#"v1.2 Normal" +#"v1.2 Low Noise" +#"v1.2 HDR" +#"v1.3 Burst Mode" - -#chip version version (multiplied by 10) -chipversion 11 +chipversion "v1.1" diff --git a/slsDetectorServers/jungfrauDetectorServer/bin/jungfrauDetectorServer_developer b/slsDetectorServers/jungfrauDetectorServer/bin/jungfrauDetectorServer_developer index 5223b4319..362047d64 100755 Binary files a/slsDetectorServers/jungfrauDetectorServer/bin/jungfrauDetectorServer_developer and b/slsDetectorServers/jungfrauDetectorServer/bin/jungfrauDetectorServer_developer differ diff --git a/slsDetectorServers/jungfrauDetectorServer/config_jungfrau.txt b/slsDetectorServers/jungfrauDetectorServer/config_jungfrau.txt index 48fea871e..2e1997cb1 100755 --- a/slsDetectorServers/jungfrauDetectorServer/config_jungfrau.txt +++ b/slsDetectorServers/jungfrauDetectorServer/config_jungfrau.txt @@ -1,4 +1,9 @@ +#chipversion Options +#"v1.0" +#"v1.1" +#"v1.2 Normal" +#"v1.2 Low Noise" +#"v1.2 HDR" +#"v1.3 Burst Mode" - -#chip version version (multiplied by 10) -chipversion 11 +chipversion "v1.1" diff --git a/slsDetectorServers/jungfrauDetectorServer/slsDetectorFunctionList.c b/slsDetectorServers/jungfrauDetectorServer/slsDetectorFunctionList.c index 8d0d1379f..706778402 100644 --- a/slsDetectorServers/jungfrauDetectorServer/slsDetectorFunctionList.c +++ b/slsDetectorServers/jungfrauDetectorServer/slsDetectorFunctionList.c @@ -46,6 +46,7 @@ int virtual_moduleid = 0; #endif enum detectorSettings thisSettings = UNINITIALIZED; +static enum CHIPINDEX chipIndex = v1_0; int highvoltage = 0; int dacValues[NDAC] = {}; int defaultDacValues[] = DEFAULT_DAC_VALS; @@ -53,11 +54,20 @@ int defaultDacValue_G0[] = SPECIAL_DEFAULT_DYNAMIC_GAIN_VALS; int defaultDacValue_HG0[] = SPECIAL_DEFAULT_DYNAMICHG0_GAIN_VALS; int32_t clkPhase[NUM_CLOCKS] = {}; int detPos[4] = {}; -int chipConfigured = 0; +bool chipConfigured = false; uint64_t normal_mode_frames = -1; uint64_t normal_mode_triggers = -1; +bool has_configure_chip = false; +bool has_storage_cells = false; +bool has_filter_resistor = false; +bool has_filter_cells = false; +bool has_current_src_normal = false; +bool has_current_src_64bit_selection = false; +bool has_current_src_reverse_bits_selection = false; +bool has_storage_start_in_chip_config = false; + int isInitCheckDone() { return initCheckDone; } int getInitResult(char **mess) { @@ -121,12 +131,17 @@ void basictests() { if (fwversion >= MIN_REQRD_VRSN_T_RD_API) sw_fw_apiversion = getFirmwareAPIVersion(); + char chipVersion[MAX_STR_LENGTH] = {0}; + memset(chipVersion, 0, MAX_STR_LENGTH); + getChipVersionInFPGA(chipVersion, initErrorMessage); LOG(logINFOBLUE, ("************ Jungfrau Server *********************\n" "Hardware Version:\t\t %s\n" "Hardware Serial Nr:\t\t 0x%x\n" + "Chip Version:\t\t\t %s\n" + "Detector IP Addr:\t\t 0x%x\n" "Detector MAC Addr:\t\t 0x%llx\n\n" @@ -135,7 +150,7 @@ void basictests() { "F/w-S/w API Version:\t\t 0x%llx\n" "Required Firmware Version:\t 0x%x\n" "********************************************************\n", - hversion, hsnumber, ipadd, (long long unsigned int)macadd, + hversion, hsnumber, chipVersion, ipadd, (long long unsigned int)macadd, (long long int)fwversion, swversion, (long long int)sw_fw_apiversion, requiredFirmwareVersion)); @@ -319,23 +334,164 @@ int isHardwareVersion_1_0() { return ((getHardwareVersionNumber() == hwNumberList[0]) ? 1 : 0); } -int getChipVersion() { - // chip v1.1 - if (bus_r(DAQ_REG) & DAQ_CHIP11_VRSN_MSK) { - return 11; +int getChipVersionInFPGA(char *version, char *mess) { + char *chip_names[] = {CHIP_NAMES}; + int val = ((bus_r(DAQ_REG) & DAQ_CHIP_VRSN_MSK) >> DAQ_CHIP_VRSN_OFST); + switch (val) { + case 0: + strcpy(version, chip_names[(int)v1_0]); + return OK; + case 1: + strcpy(version, chip_names[(int)v1_1]); + return OK; + case 2: + strcpy(version, chip_names[(int)v1_2_NORMAL]); + return OK; + default: + sprintf(mess, "Read undefined value as chip version from FPGA: %d\n", + val); + LOG(logERROR, (mess)); + return FAIL; } - // chip v1.0 - return 10; } -void setChipVersion(int version) { - LOG(logINFO, - ("Setting chip version to %0.1f in FPGA\n", (double)version / 10.0)); - if (version == 11) { - bus_w(DAQ_REG, bus_r(DAQ_REG) | DAQ_CHIP11_VRSN_MSK); - } else { - bus_w(DAQ_REG, bus_r(DAQ_REG) & ~DAQ_CHIP11_VRSN_MSK); +int findChipIndex(enum CHIPINDEX *ind, char *cval, char *mess) { + if (cval == NULL) { + sprintf(mess, "String value is NULL. Cannot find chip version.\n"); + LOG(logERROR, (mess)); + return FAIL; } + char *chip_names[] = {CHIP_NAMES}; + for (enum CHIPINDEX ichip = v1_0; ichip != NUM_CHIP_INDICES; ++ichip) { + if (strcmp(chip_names[ichip], cval) == 0) { + *ind = ichip; + return OK; + } + } + sprintf(mess, "Unknown chip version '%s'. Options: %s\n", cval, + CHIP_VALS_HELP); + LOG(logERROR, (mess)); + return FAIL; +} + +/** For backwards compatibility */ +int setChipVersionIntFromConfigFile(int val, char *mess) { + const int vals[] = CHIP_VALS; + if (val == vals[(int)v1_0]) + return setChipIndex(v1_0, mess); + else if (val == vals[(int)v1_1]) + return setChipIndex(v1_1, mess); + else { + sprintf(mess, "Invalid chip version %d. Options: %d and %d.\n", val, + vals[(int)v1_0], vals[(int)v1_1]); + LOG(logERROR, (mess)); + return FAIL; + } +} + +int setChipVersionStringFromConfigFile(char *cval, char *mess) { + enum CHIPINDEX ind = NUM_CHIP_INDICES; + if (findChipIndex(&ind, cval, mess) == FAIL) { + return FAIL; + } + return setChipIndex(ind, mess); +} + +int setChipIndex(enum CHIPINDEX ind, char *mess) { + if (validateChipIndex(ind, mess) == FAIL) { + return FAIL; + } + chipIndex = ind; + setChipIndexAllowedFeatures(); + return setChipVersionInFPGA(mess); +} + +int validateChipIndex(enum CHIPINDEX ind, char *mess) { + if (ind < 0 || ind >= NUM_CHIP_INDICES) { + sprintf(mess, "Invalid chip index %d. Options: %s\n", (int)ind, + CHIP_VALS_HELP); + LOG(logERROR, (mess)); + return FAIL; + } + + // chipversion > 1.0 and HW 1.0 is incompatible + if (ind > v1_0 && isHardwareVersion_1_0()) { + char *chip_names[] = {CHIP_NAMES}; + sprintf(mess, + "Chip index %d (%s) is incompatible with hardware version " + "v1.0. Please update board or correct chip index.\n", + (int)ind, chip_names[ind]); + return FAIL; + } + return OK; +} + +void setChipIndexAllowedFeatures() { + switch (chipIndex) { + case v1_0: + has_configure_chip = false; + has_storage_cells = true; + has_filter_resistor = false; + has_filter_cells = false; + has_current_src_normal = false; + has_current_src_64bit_selection = false; + has_current_src_reverse_bits_selection = false; + has_storage_start_in_chip_config = false; + break; + case v1_1: + has_configure_chip = true; + has_storage_cells = false; + has_filter_resistor = true; + has_filter_cells = true; + has_current_src_normal = true; + has_current_src_64bit_selection = true; + has_current_src_reverse_bits_selection = true; + has_storage_start_in_chip_config = true; + break; + case v1_2_NORMAL: + case v1_2_LOW_NOISE: + case v1_2_HDR: + has_configure_chip = true; + has_storage_cells = true; + has_filter_resistor = true; + has_filter_cells = false; + has_current_src_normal = true; + has_current_src_64bit_selection = true; + has_current_src_reverse_bits_selection = false; + has_storage_start_in_chip_config = true; + break; + default: + LOG(logERROR, ("Unknown chip index %d\n", (int)chipIndex)); + } +} + +int setChipVersionInFPGA(char *mess) { + uint32_t val = 0; + switch (chipIndex) { + case v1_0: + LOG(logINFO, ("Setting Chip Version 1.0 in FPGA\n")); + val = DAQ_CHIP_VRSN_v1_0_VAL; + break; + case v1_1: + LOG(logINFO, ("Setting Chip Version 1.1 in FPGA\n")); + val = DAQ_CHIP_VRSN_v1_1_VAL; + break; + case v1_2_NORMAL: + case v1_2_LOW_NOISE: + case v1_2_HDR: + LOG(logINFO, ("Setting Chip Version 1.2 in FPGA\n")); + val = DAQ_CHIP_VRSN_v1_2_VAL; + break; + default: + sprintf(mess, "Unknown chip index %d\n", (int)chipIndex); + LOG(logERROR, (mess)); + return FAIL; + } + + bus_w(DAQ_REG, bus_r(DAQ_REG) & ~DAQ_CHIP_VRSN_MSK); + bus_w(DAQ_REG, + bus_r(DAQ_REG) | ((val << DAQ_CHIP_VRSN_OFST) & DAQ_CHIP_VRSN_MSK)); + return OK; } u_int32_t getDetectorNumber() { @@ -460,7 +616,7 @@ void setupDetector() { for (int i = 0; i < NUM_CLOCKS; ++i) { clkPhase[i] = 0; } - chipConfigured = 0; + chipConfigured = false; #ifdef VIRTUAL if (isControlServer) { sharedMemory_setStatus(IDLE); @@ -549,14 +705,6 @@ void setupDetector() { setExpTime(DEFAULT_EXPTIME); setPeriod(DEFAULT_PERIOD); setDelayAfterTrigger(DEFAULT_DELAY); - if (getChipVersion() == 11) { - selectStoragecellStart(DEFAULT_STRG_CLL_STRT_CHIP11); - } else { - setNumAdditionalStorageCells(DEFAULT_NUM_STRG_CLLS); - selectStoragecellStart(DEFAULT_STRG_CLL_STRT); - // not applicable for chipv1.1 - setStorageCellDelay(DEFAULT_STRG_CLL_DLY); - } setTiming(DEFAULT_TIMING_MODE); setNextFrameNumber(DEFAULT_STARTING_FRAME_NUMBER); @@ -564,10 +712,20 @@ void setupDetector() { setTemperatureControl(DEFAULT_TMP_CNTRL); setThresholdTemperature(DEFAULT_TMP_THRSHLD); setTemperatureEvent(0); - if (getChipVersion() == 11) { - setFilterResistor(DEFAULT_FILTER_RESISTOR); - setNumberOfFilterCells(DEFAULT_FILTER_CELL); + + // chip specific features + if (hasStorageCellsFeature()) { + setNumAdditionalStorageCells(DEFAULT_NUM_STRG_CLLS); + setStorageCellDelay(DEFAULT_STRG_CLL_DLY); + setStorageCellStart(DEFAULT_STRG_CLL_STRT); + } else { + setStorageCellStart(DEFAULT_STRG_CLL_STRT_CHIP11); } + if (hasFilterResistorFeature()) + setFilterResistor(DEFAULT_FILTER_RESISTOR); + if (hasFilterCellsFeature()) + setNumberOfFilterCells(DEFAULT_FILTER_CELL); + if (!isHardwareVersion_1_0()) { setFlipRows(DEFAULT_FLIP_ROWS); setReadNRows(MAX_ROWS_PER_READOUT); @@ -793,35 +951,41 @@ int readConfigFile() { // chipversion command if (!strncmp(line, "chipversion", strlen("chipversion"))) { - int version = 0; + int val = 0; + char chipversion[SHORT_STR_LENGTH] = {0}; - // cannot scan values - if (sscanf(line, "%s %d", command, &version) != 2) { - sprintf( - initErrorMessage, - "Could not scan chipversion commands from on-board server " - "config file. Line:[%s].\n", - line); - break; + // backward compatibility: takes an int + if (sscanf(line, "%s %d", command, &val) == 2) { + if (setChipVersionIntFromConfigFile(val, initErrorMessage) == + FAIL) { + strcat(initErrorMessage, + "Could not set chip version from on-board server " + "config " + "file. For higher chip versions, use string " + "arguments from example server config file. " + "Line:[%s].\n"); + break; + } } - // validations - if (version != 10 && version != 11) { + + // updated argument takes a string without quotes + else if (sscanf(line, "%s \"%[^\"]\"", command, chipversion) == 2) { + if (setChipVersionStringFromConfigFile( + chipversion, initErrorMessage) == FAIL) { + strcat(initErrorMessage, + "Could not set chip version from on-board server " + "config file. Line:[%s].\n"); + break; + } + } + + else { sprintf(initErrorMessage, - "Could not set chip version from on-board server " - "config file. Invalid chip version %d. Line:[%s].\n", - version, line); + "Could not scan chipversion command from on-board " + "server config file. Line:[%s].\n", + line); break; } - // chipversion 1.1 and HW 1.0 is incompatible - if (version == 11 && isHardwareVersion_1_0()) { - strcpy(initErrorMessage, - "Chip version 1.1 (from on-board config file) is " - "incompatible with hardware version v1.0. Please update " - "board or correct on-board config file.\n"); - break; - } - - setChipVersion(version); } // other commands @@ -910,65 +1074,97 @@ uint32_t getADCInvertRegister() { } /* parameters - timer */ -int selectStoragecellStart(int pos) { - int value = pos; - uint32_t addr = DAQ_REG; - uint32_t mask = DAQ_STRG_CELL_SLCT_MSK; - int offset = DAQ_STRG_CELL_SLCT_OFST; - if (getChipVersion() == 11) { - // set the bit - value = 1 << pos; - addr = CONFIG_V11_REG; - mask = CONFIG_V11_STRG_CLL_MSK; - offset = CONFIG_V11_STRG_CLL_OFST; - } - if (pos >= 0) { - LOG(logINFO, ("Setting storage cell start: %d\n", pos)); - bus_w(addr, bus_r(addr) & ~mask); - bus_w(addr, bus_r(addr) | ((value << offset) & mask)); - // should not do a get to verify (status register does not update - // immediately during acquisition) - if (getChipVersion() == 11) { - return pos; - } - } - - // read value back - // chipv1.1, writing and reading registers are different -#ifndef VIRTUAL - if (getChipVersion() == 11) { - addr = CONFIG_V11_STATUS_REG; - mask = CONFIG_V11_STATUS_STRG_CLL_MSK; - offset = CONFIG_V11_STATUS_STRG_CLL_OFST; - } -#endif - uint32_t regval = bus_r(addr); -#ifndef VIRTUAL - // flip all contents of register //TODO FIRMWARE FIX - if (getChipVersion() == 11) { - regval ^= BIT32_MASK; - } -#endif - uint32_t retval = ((regval & mask) >> offset); - if (getChipVersion() == 11) { - // get which bit - int max = getMaxStoragecellStart(); - for (int i = 0; i != max + 1; ++i) { - if (retval & (1 << i)) { - return i; - } - } - } - // chip v1.0 - return retval; +int getStorageCellStartFromStorageCellReg() { + return ((bus_r(STORAGE_CELL_REG) & STORAGE_CELL_START_MSK) >> + STORAGE_CELL_START_OFST); } -int getMaxStoragecellStart() { - if (getChipVersion() == 11) { - return MAX_STORAGE_CELL_CHIP11_VAL; - } else { - return MAX_STORAGE_CELL_VAL; +void setStorageCellStartFromStorageCellReg(int pos) { + bus_w(STORAGE_CELL_REG, bus_r(STORAGE_CELL_REG) & ~STORAGE_CELL_START_MSK); + bus_w(STORAGE_CELL_REG, + bus_r(STORAGE_CELL_REG) | + ((pos << STORAGE_CELL_START_OFST) & STORAGE_CELL_START_MSK)); +} + +int getStorageCellStartFromChipConfig() { + // read from config status reg + uint32_t addr = CONFIG_V11_STATUS_REG; + uint32_t mask = CONFIG_V11_STATUS_STRG_CLL_MSK; + int offset = CONFIG_V11_STATUS_STRG_CLL_OFST; + if (chipIndex > v1_1) { + offset = CONFIG_V12_STATUS_STRG_CLL_OFST; + mask = CONFIG_V12_STATUS_STRG_CLL_MSK; } + + // get which bit + uint32_t regval = bus_r(addr); + // firmware fix: flip all contents of reg + regval ^= BIT32_MASK; // TODO for chipv1.2?? + uint32_t retval = ((regval & mask) >> offset); + int max = getMaxStorageCellStart(); + for (int i = 0; i != max + 1; ++i) { + if (retval & (1 << i)) { + return i; + } + } + LOG(logERROR, ("Could not read storage cell start from config status reg. " + "Read 0x%x, returning -1\n", + regval)); + return -1; +} + +void setStorageCellStartFromChipConfig(int pos) { + // write to chip config reg, which will later update status reg + uint32_t addr = CONFIG_V11_REG; + uint32_t mask = CONFIG_V11_STRG_CLL_MSK; + int offset = CONFIG_V11_STRG_CLL_OFST; + int value = 1 << pos; + + if (chipIndex > v1_1) { + offset = CONFIG_V12_STRG_CLL_OFST; + mask = CONFIG_V12_STRG_CLL_MSK; + } + + uint32_t regval = bus_r(addr); + bus_w(addr, regval & ~mask); + bus_w(addr, bus_r(addr) | ((value << offset) & mask)); +} + +int getStorageCellStart() { + bool using_chip_config = hasStorageCellStartInChipConfig(); +#ifdef VIRTUAL + using_chip_config = false; +#endif + if (using_chip_config) { + return getStorageCellStartFromChipConfig(); + } + return getStorageCellStartFromStorageCellReg(); +} + +int setStorageCellStart(int pos) { + LOG(logINFO, ("Setting storage cell start: %d\n", pos)); + setStorageCellStartFromStorageCellReg(pos); + + int retval = getStorageCellStartFromStorageCellReg(); + if (retval != pos) { + LOG(logERROR, ("Could not set storage cell start! Wrote %d, read %d\n", + pos, retval)); + return FAIL; + } + + if (!hasStorageCellStartInChipConfig()) + return OK; + + setStorageCellStartFromChipConfig(pos); + // not validating because the status register might not update during + return OK; +} + +int getMaxStorageCellStart() { + if (hasStorageCellsFeature()) + return MAX_STORAGE_CELL_VAL; + else + return MAX_STORAGE_CELL_CHIP11_VAL; } int setNextFrameNumber(uint64_t value) { @@ -1101,18 +1297,21 @@ int64_t getDelayAfterTrigger() { } void setNumAdditionalStorageCells(int val) { - if (val >= 0) { - LOG(logINFO, ("Setting number of addl. storage cells %d\n", val)); - bus_w(CONTROL_REG, - (bus_r(CONTROL_REG) & ~CONTROL_STORAGE_CELL_NUM_MSK) | - ((val << CONTROL_STORAGE_CELL_NUM_OFST) & - CONTROL_STORAGE_CELL_NUM_MSK)); + if (val < 0) { + LOG(logERROR, ("Invalid number of addl. storage cells %d\n", val)); + return; } + + LOG(logINFO, ("Setting number of addl. storage cells %d\n", val)); + bus_w(STORAGE_CELL_REG, + (bus_r(STORAGE_CELL_REG) & ~STORAGE_CELL_NUM_ADDTNL_MSK) | + ((val << STORAGE_CELL_NUM_ADDTNL_OFST) & + STORAGE_CELL_NUM_ADDTNL_MSK)); } int getNumAdditionalStorageCells() { - return ((bus_r(CONTROL_REG) & CONTROL_STORAGE_CELL_NUM_MSK) >> - CONTROL_STORAGE_CELL_NUM_OFST); + return ((bus_r(STORAGE_CELL_REG) & STORAGE_CELL_NUM_ADDTNL_MSK) >> + STORAGE_CELL_NUM_ADDTNL_OFST); } int setStorageCellDelay(int64_t val) { @@ -1123,9 +1322,10 @@ int setStorageCellDelay(int64_t val) { } LOG(logINFO, ("Setting storage cell delay %lld ns\n", (long long int)val)); val *= (1E-3 * CLK_RUN); - bus_w(ASIC_CTRL_REG, - (bus_r(ASIC_CTRL_REG) & ~ASIC_CTRL_EXPSRE_TMR_MSK) | - ((val << ASIC_CTRL_EXPSRE_TMR_OFST) & ASIC_CTRL_EXPSRE_TMR_MSK)); + bus_w(STORAGE_CELL_REG, + (bus_r(STORAGE_CELL_REG) & ~STORAGE_CELL_EXPSRE_TMR_MSK) | + ((val << STORAGE_CELL_EXPSRE_TMR_OFST) & + STORAGE_CELL_EXPSRE_TMR_MSK)); // validate for tolerance int64_t retval = getStorageCellDelay(); @@ -1137,9 +1337,10 @@ int setStorageCellDelay(int64_t val) { } int64_t getStorageCellDelay() { - return (((int64_t)((bus_r(ASIC_CTRL_REG) & ASIC_CTRL_EXPSRE_TMR_MSK) >> - ASIC_CTRL_EXPSRE_TMR_OFST)) / - (1E-3 * CLK_RUN)); + return ( + ((int64_t)((bus_r(STORAGE_CELL_REG) & STORAGE_CELL_EXPSRE_TMR_MSK) >> + STORAGE_CELL_EXPSRE_TMR_OFST)) / + (1E-3 * CLK_RUN)); } int64_t getNumFramesLeft() { @@ -1229,7 +1430,6 @@ int setSettings(enum detectorSettings sett, char *mess) { return FAIL; } - // if chipv1.1 and powered on configureChip(); return OK; @@ -1992,7 +2192,7 @@ int powerChip(int on) { bus_w(CHIP_POWER_REG, bus_r(CHIP_POWER_REG) & ~CHIP_POWER_ENABLE_MSK); - chipConfigured = 0; + chipConfigured = false; } } #ifdef VIRTUAL @@ -2003,11 +2203,32 @@ int powerChip(int on) { CHIP_POWER_STATUS_OFST); } -int isChipConfigured() { return chipConfigured; } +bool requireChipConfiguration() { return has_configure_chip; } + +bool hasStorageCellsFeature() { return has_storage_cells; } + +bool hasFilterResistorFeature() { return has_filter_resistor; } + +bool hasFilterCellsFeature() { return has_filter_cells; } + +bool hasCurrentSourceNormalFeature() { return has_current_src_normal; } + +bool hasCurrentSource64BitSelectionFeature() { + return has_current_src_64bit_selection; +} + +bool hasCurrentSourceReverseBitsSelectionFeature() { + return has_current_src_reverse_bits_selection; +} + +bool hasStorageCellStartInChipConfig() { + return has_storage_start_in_chip_config; +} + +bool isChipConfigured() { return chipConfigured; } void configureChip() { - // only for chipv1.1 and chip is powered on - if (getChipVersion() == 11 && powerChip(-1)) { + if (requireChipConfiguration() && powerChip(-1)) { LOG(logINFOBLUE, ("\tConfiguring chip\n")); // waiting 500 ms before configuring selection @@ -2026,7 +2247,7 @@ void configureChip() { bus_w(CONFIG_V11_REG, bus_r(CONFIG_V11_REG)); LOG(logINFOBLUE, ("\tChip configured\n")); - chipConfigured = 1; + chipConfigured = true; } } @@ -2074,9 +2295,10 @@ void configureASICTimer() { bus_w(ASIC_CTRL_REG, (bus_r(ASIC_CTRL_REG) & ~ASIC_CTRL_PRCHRG_TMR_MSK) | ASIC_CTRL_PRCHRG_TMR_VAL); - uint32_t val = ASIC_CTRL_DS_TMR_VAL; - if (getChipVersion() == 11) { - val = ASIC_CTRL_DS_TMR_CHIP1_1_VAL; + uint32_t val = ASIC_CTRL_DS_TMR_CHIP1_1_VAL; + // TODO: value of chipindex v1_2 value to be decided. + if (chipIndex == v1_0) { + val = ASIC_CTRL_DS_TMR_VAL; } bus_w(ASIC_CTRL_REG, (bus_r(ASIC_CTRL_REG) & ~ASIC_CTRL_DS_TMR_MSK) | val); LOG(logINFO, ("Configured ASIC Timer [0x%x]\n", bus_r(ASIC_CTRL_REG))); @@ -2095,14 +2317,14 @@ int setReadoutSpeed(int val) { uint32_t config = CONFIG_FULL_SPEED_40MHZ_VAL; switch (val) { - + // tODO: calculate values for chip v1.2 case FULL_SPEED: if (isHardwareVersion_1_0()) { LOG(logERROR, ("Cannot set full speed. Should not be here\n")); return FAIL; } LOG(logINFO, ("Setting Full Speed (40 MHz):\n")); - if (getChipVersion() == 10) { + if (chipIndex == v1_0) { sampleAdcSpeed = SAMPLE_ADC_FULL_SPEED_CHIP10; adcPhase = ADC_PHASE_FULL_SPEED_CHIP10; dbitPhase = DBIT_PHASE_FULL_SPEED_CHIP10; @@ -2123,7 +2345,7 @@ int setReadoutSpeed(int val) { sampleAdcSpeed = SAMPLE_ADC_HALF_SPEED_BOARD2; adcPhase = ADC_PHASE_HALF_SPEED_BOARD2; dbitPhase = DBIT_PHASE_HALF_SPEED_BOARD2; - } else if (getChipVersion() == 10) { + } else if (chipIndex == v1_0) { adcOfst = ADC_OFST_HALF_SPEED_VAL_CHIP10; sampleAdcSpeed = SAMPLE_ADC_HALF_SPEED_CHIP10; adcPhase = ADC_PHASE_HALF_SPEED_CHIP10; @@ -2144,7 +2366,7 @@ int setReadoutSpeed(int val) { sampleAdcSpeed = SAMPLE_ADC_QUARTER_SPEED_BOARD2; adcPhase = ADC_PHASE_QUARTER_SPEED_BOARD2; dbitPhase = DBIT_PHASE_QUARTER_SPEED_BOARD2; - } else if (getChipVersion() == 10) { + } else if (chipIndex == v1_0) { adcOfst = ADC_OFST_QUARTER_SPEED_VAL_CHIP10; sampleAdcSpeed = SAMPLE_ADC_QUARTER_SPEED_CHIP10; adcPhase = ADC_PHASE_QUARTER_SPEED_CHIP10; @@ -2490,7 +2712,7 @@ void disableCurrentSource() { LOG(logINFO, ("Disabling Current Source\n")); // set default values for current source first - if (getChipVersion() == 11) { + if (hasCurrentSource64BitSelectionFeature()) { LOG(logINFO, ("\tSetting default values for selection\n")) bus_w(CRRNT_SRC_COL_LSB_REG, BIT32_MASK); bus_w(CRRNT_SRC_COL_MSB_REG, BIT32_MASK); @@ -2504,15 +2726,8 @@ void disableCurrentSource() { void enableCurrentSource(int fix, uint64_t select, int normal) { disableCurrentSource(); - - if (getChipVersion() == 11) { - LOG(logINFO, ("Enabling current source [fix:%d, select:0x%lx]\n", fix, - (long unsigned int)select)); - } else { - LOG(logINFO, - ("Enabling current source [fix:%d, select:%ld, normal:%d]\n", fix, - (long int)select, normal)); - } + LOG(logINFO, ("Enabling current source [fix:%d, select:0x%lx, normal:%d]\n", + fix, (long unsigned int)select, normal)); // fix if (fix) { LOG(logINFO, ("\tEnabling fix\n")); @@ -2521,29 +2736,39 @@ void enableCurrentSource(int fix, uint64_t select, int normal) { LOG(logINFO, ("\tDisabling fix\n")); bus_w(DAQ_REG, bus_r(DAQ_REG) & ~DAQ_CRRNT_SRC_CLMN_FIX_MSK); } - if (getChipVersion() == 10) { - // select + + // select (not 64 bits) + if (!hasCurrentSource64BitSelectionFeature()) { LOG(logINFO, ("\tSetting selection to %ld\n", (long int)select)); bus_w(DAQ_REG, bus_r(DAQ_REG) & ~DAQ_CRRNT_SRC_CLMN_SLCT_MSK); bus_w(DAQ_REG, bus_r(DAQ_REG) | ((select << DAQ_CRRNT_SRC_CLMN_SLCT_OFST) & DAQ_CRRNT_SRC_CLMN_SLCT_MSK)); - } else { - // select - // invert select first - uint64_t tmp = select; - uint64_t inverted = 0; - for (int i = 0; i != 64; ++i) { - // get each bit from LSB side - uint64_t bit = (tmp >> i) & 0x1; - // push the bit into MSB side - inverted |= (bit << (63 - i)); - } - LOG(logINFO, ("\tSetting selection to 0x%lx (inverted from 0x%lx)\n", - (long unsigned int)inverted, (long unsigned int)select)); - set64BitReg(inverted, CRRNT_SRC_COL_LSB_REG, CRRNT_SRC_COL_MSB_REG); + } + // select (64 bits) + else { + uint64_t retval = 0; + // reverse bits select first + if (hasCurrentSourceReverseBitsSelectionFeature()) { + uint64_t tmp = select; + for (int i = 0; i != 64; ++i) { + // get each bit from LSB side + uint64_t bit = (tmp >> i) & 0x1; + // push the bit into MSB side + retval |= (bit << (63 - i)); + } + } else { + retval = select; + } + + LOG(logINFO, ("\tSetting selection to 0x%lx (inverted from 0x%lx)\n", + (long unsigned int)retval, (long unsigned int)select)); + set64BitReg(retval, CRRNT_SRC_COL_LSB_REG, CRRNT_SRC_COL_MSB_REG); + } + + if (hasCurrentSourceNormalFeature()) { // normal if (normal) { LOG(logINFO, ("\tEnabling normal\n")) @@ -2555,6 +2780,7 @@ void enableCurrentSource(int fix, uint64_t select, int normal) { bus_r(CONFIG_V11_REG) | CONFIG_V11_CRRNT_SRC_LOW_MSK); } } + // validating before enabling current source if (getFixCurrentSource() != fix || getSelectCurrentSource() != select) { LOG(logERROR, @@ -2582,7 +2808,7 @@ int getFixCurrentSource() { } int getNormalCurrentSource() { - if (getChipVersion() == 11) { + if (hasCurrentSourceNormalFeature()) { int low = ((bus_r(CONFIG_V11_STATUS_REG) & CONFIG_V11_STATUS_CRRNT_SRC_LOW_MSK) >> CONFIG_V11_STATUS_CRRNT_SRC_LOW_OFST); @@ -2592,23 +2818,27 @@ int getNormalCurrentSource() { } uint64_t getSelectCurrentSource() { - if (getChipVersion() == 10) { + if (!hasCurrentSourceNormalFeature()) { return ((bus_r(DAQ_REG) & DAQ_CRRNT_SRC_CLMN_SLCT_MSK) >> DAQ_CRRNT_SRC_CLMN_SLCT_OFST); } else { // invert the select - uint64_t retval = + uint64_t regval = get64BitReg(CRRNT_SRC_COL_LSB_REG, CRRNT_SRC_COL_MSB_REG); - uint64_t tmp = retval; - uint64_t inverted = 0; - for (int i = 0; i != 64; ++i) { - // get each bit from LSB side - uint64_t bit = (tmp >> i) & 0x1; - // push the bit into MSB side - inverted |= (bit << (63 - i)); + uint64_t retval = regval; + if (hasCurrentSourceReverseBitsSelectionFeature()) { + uint64_t tmp = regval; + uint64_t inverted = 0; + for (int i = 0; i != 64; ++i) { + // get each bit from LSB side + uint64_t bit = (tmp >> i) & 0x1; + // push the bit into MSB side + inverted |= (bit << (63 - i)); + } + retval = inverted; } - return inverted; + return retval; } } diff --git a/slsDetectorServers/jungfrauDetectorServer/slsDetectorFunctionList.h b/slsDetectorServers/jungfrauDetectorServer/slsDetectorFunctionList.h index b775ff0e1..64bd7f71e 100644 --- a/slsDetectorServers/jungfrauDetectorServer/slsDetectorFunctionList.h +++ b/slsDetectorServers/jungfrauDetectorServer/slsDetectorFunctionList.h @@ -57,8 +57,15 @@ void getHardwareVersion(char *version); u_int16_t getHardwareVersionNumber(); u_int16_t getHardwareSerialNumber(); int isHardwareVersion_1_0(); -int getChipVersion(); -void setChipVersion(int version); +int getChipVersionInFPGA(char *retvals, char *mess); +int findChipIndex(enum CHIPINDEX *ind, char *cval, char *mess); +int setChipVersionIntFromConfigFile(int val, + char *mess); // for backward compatibility +int setChipVersionStringFromConfigFile(char *cval, char *mess); +int setChipIndex(enum CHIPINDEX ind, char *mess); +int validateChipIndex(enum CHIPINDEX ind, char *mess); +void setChipIndexAllowedFeatures(); +int setChipVersionInFPGA(char *mess); u_int32_t getDetectorNumber(); int getModuleId(int *ret, char *mess); int updateModuleId(); @@ -89,8 +96,13 @@ void setADCInvertRegister(uint32_t val); uint32_t getADCInvertRegister(); // parameters - timer -int selectStoragecellStart(int pos); -int getMaxStoragecellStart(); +int getStorageCellStartFromStorageCellReg(); +void setStorageCellStartFromStorageCellReg(int pos); +int getStorageCellStartFromChipConfig(); +void setStorageCellStartFromChipConfig(int pos); +int getStorageCellStart(); +int setStorageCellStart(int pos); +int getMaxStorageCellStart(); int setNextFrameNumber(uint64_t value); int getNextFrameNumber(uint64_t *value); void setNumFrames(int64_t val); @@ -169,7 +181,15 @@ int setReadNRows(int value); int getReadNRows(); void initReadoutConfiguration(); int powerChip(int on); -int isChipConfigured(); +bool requireChipConfiguration(); +bool hasStorageCellsFeature(); +bool hasFilterResistorFeature(); +bool hasFilterCellsFeature(); +bool hasCurrentSourceNormalFeature(); +bool hasCurrentSource64BitSelectionFeature(); +bool hasCurrentSourceReverseBitsSelectionFeature(); +bool hasStorageCellStartInChipConfig(); +bool isChipConfigured(); void configureChip(); int autoCompDisable(int on); int setComparatorDisableTime(int64_t val); diff --git a/slsDetectorServers/jungfrauDetectorServer/slsDetectorServer_defs.h b/slsDetectorServers/jungfrauDetectorServer/slsDetectorServer_defs.h index cc2b0928b..aaf8fd7fc 100644 --- a/slsDetectorServers/jungfrauDetectorServer/slsDetectorServer_defs.h +++ b/slsDetectorServers/jungfrauDetectorServer/slsDetectorServer_defs.h @@ -5,8 +5,8 @@ #include "sls/sls_detector_defs.h" #define MIN_REQRD_VRSN_T_RD_API 0x171220 -#define REQRD_FRMWRE_VRSN_BOARD2 0x250209 // 1.0 pcb (version = 010) -#define REQRD_FRMWRE_VRSN 0x250208 // 2.0 pcb (version = 011) +#define REQRD_FRMWRE_VRSN_BOARD2 0x260814 // 1.0 pcb (version = 010) +#define REQRD_FRMWRE_VRSN 0x260813 // 2.0 pcb (version = 011) #define NUM_HARDWARE_VERSIONS (2) #define HARDWARE_VERSION_NUMBERS \ @@ -63,7 +63,6 @@ #define DEFAULT_TIMING_INFO_DECODER (SWISSFEL) #define DEFAULT_ELECTRON_COLLECTION_MODE (0) -#define MAX_PEDESTAL_LOOPS (0xFF) // until fixed in firmware #define HIGHVOLTAGE_MIN (60) #define HIGHVOLTAGE_MAX (200) #define DAC_MIN_MV (0) @@ -78,7 +77,7 @@ #define MAX_THRESHOLD_TEMP_VAL (127999) // millidegrees #define MAX_STORAGE_CELL_VAL (15) // 0xF #define MAX_STORAGE_CELL_CHIP11_VAL (3) -#define MAX_STORAGE_CELL_DLY_NS_VAL (ASIC_CTRL_EXPSRE_TMR_MAX_VAL) +#define MAX_STORAGE_CELL_DLY_NS_VAL (STORAGE_CELL_EXPSRE_TMR_MAX_VAL) #define ACQ_TIME_MIN_CLOCK (2) #define ASIC_FILTER_MAX_RES_VALUE (1) #define MAX_SELECT_CHIP10_VAL (63) @@ -211,6 +210,22 @@ enum DACINDEX { 420 /* J_VREF_COMP */ \ }; +enum CHIPINDEX { + v1_0, + v1_1, + v1_2_NORMAL, + v1_2_LOW_NOISE, + v1_2_HDR, + v1_3_BURST_MODE, + NUM_CHIP_INDICES +}; + +#define CHIP_VALS {10, 11, 120, 121, 122, 13}; +#define CHIP_VALS_HELP "10, 11, 120, 121, 122, 13" +#define CHIP_NAMES \ + "v1.0", "v1.1", "v1.2 Normal", "v1.2 Low Noise", "v1.2 HDR", \ + "v1.3 Burst Mode" + enum MASTERINDEX { MASTER_HARDWARE, OW_MASTER, OW_SLAVE }; #define MASTER_NAMES "hardware", "master", "slave" diff --git a/slsDetectorServers/slsDetectorServer/src/slsDetectorServer_funcs.c b/slsDetectorServers/slsDetectorServer/src/slsDetectorServer_funcs.c index 0a5bb400a..1d6b51aef 100644 --- a/slsDetectorServers/slsDetectorServer/src/slsDetectorServer_funcs.c +++ b/slsDetectorServers/slsDetectorServer/src/slsDetectorServer_funcs.c @@ -786,7 +786,7 @@ int set_timing_mode(int file_des) { #ifdef EIGERD case GATED: case BURST_TRIGGER: -#elif MYTHEN3D +#elif defined(MYTHEN3D) || defined(XILINX_CHIPTESTBOARDD) case GATED: case TRIGGER_GATED: #endif @@ -1859,108 +1859,103 @@ int acquire(int blocking, int file_des) { else #endif #if defined(JUNGFRAUD) - // chipv1.1 has to be configured before acquisition - if (getChipVersion() == 11 && !isChipConfigured()) { - ret = FAIL; - strcpy(mess, - "Could not start acquisition. Chip is not configured. " - "Power it on to configure it.\n"); - LOG(logERROR, (mess)); - } else + if (requireChipConfiguration() && !isChipConfigured()) { + ret = FAIL; + strcpy(mess, "Could not start acquisition. Chip is not configured. " + "Power it on to configure it.\n"); + LOG(logERROR, (mess)); + } else #endif #if defined(CHIPTESTBOARDD) || defined(XILINX_CHIPTESTBOARDD) - if ((getReadoutMode() == ANALOG_AND_DIGITAL || - getReadoutMode() == ANALOG_ONLY) && - (getNumAnalogSamples() <= 0)) { - ret = FAIL; - sprintf(mess, - "Could not start acquisition. Invalid number of analog " - "samples: %d.\n", - getNumAnalogSamples()); - LOG(logERROR, (mess)); - } else if ((getReadoutMode() == ANALOG_AND_DIGITAL || - getReadoutMode() == DIGITAL_ONLY || - getReadoutMode() == DIGITAL_AND_TRANSCEIVER) && - (getNumDigitalSamples() <= 0)) { - ret = FAIL; - sprintf( - mess, + if ((getReadoutMode() == ANALOG_AND_DIGITAL || + getReadoutMode() == ANALOG_ONLY) && + (getNumAnalogSamples() <= 0)) { + ret = FAIL; + sprintf(mess, + "Could not start acquisition. Invalid number of analog " + "samples: %d.\n", + getNumAnalogSamples()); + LOG(logERROR, (mess)); + } else if ((getReadoutMode() == ANALOG_AND_DIGITAL || + getReadoutMode() == DIGITAL_ONLY || + getReadoutMode() == DIGITAL_AND_TRANSCEIVER) && + (getNumDigitalSamples() <= 0)) { + ret = FAIL; + sprintf(mess, "Could not start acquisition. Invalid number of digital " "samples: %d.\n", getNumDigitalSamples()); - LOG(logERROR, (mess)); - } else if ((getReadoutMode() == TRANSCEIVER_ONLY || - getReadoutMode() == DIGITAL_AND_TRANSCEIVER) && - (getNumTransceiverSamples() <= 0)) { - ret = FAIL; - sprintf(mess, - "Could not start acquisition. Invalid number of " - "transceiver " - "samples: %d.\n", - getNumTransceiverSamples()); - LOG(logERROR, (mess)); - } else + LOG(logERROR, (mess)); + } else if ((getReadoutMode() == TRANSCEIVER_ONLY || + getReadoutMode() == DIGITAL_AND_TRANSCEIVER) && + (getNumTransceiverSamples() <= 0)) { + ret = FAIL; + sprintf(mess, + "Could not start acquisition. Invalid number of " + "transceiver " + "samples: %d.\n", + getNumTransceiverSamples()); + LOG(logERROR, (mess)); + } else #endif #ifdef EIGERD - // check for hardware mac and hardware ip - if (udpDetails[0].srcmac != getDetectorMAC()) { - ret = FAIL; - uint64_t sourcemac = getDetectorMAC(); - char src_mac[MAC_ADDRESS_SIZE]; - getMacAddressinString(src_mac, MAC_ADDRESS_SIZE, sourcemac); - sprintf(mess, - "Invalid udp source mac address for this detector. " - "Must be " - "same as hardware detector mac address %s\n", - src_mac); - LOG(logERROR, (mess)); - } else if (!enableTenGigabitEthernet(GET_FLAG) && - (udpDetails[0].srcip != getDetectorIP())) { - ret = FAIL; - uint32_t sourceip = getDetectorIP(); - char src_ip[INET_ADDRSTRLEN]; - getIpAddressinString(src_ip, sourceip); - sprintf( - mess, + // check for hardware mac and hardware ip + if (udpDetails[0].srcmac != getDetectorMAC()) { + ret = FAIL; + uint64_t sourcemac = getDetectorMAC(); + char src_mac[MAC_ADDRESS_SIZE]; + getMacAddressinString(src_mac, MAC_ADDRESS_SIZE, sourcemac); + sprintf(mess, + "Invalid udp source mac address for this detector. " + "Must be " + "same as hardware detector mac address %s\n", + src_mac); + LOG(logERROR, (mess)); + } else if (!enableTenGigabitEthernet(GET_FLAG) && + (udpDetails[0].srcip != getDetectorIP())) { + ret = FAIL; + uint32_t sourceip = getDetectorIP(); + char src_ip[INET_ADDRSTRLEN]; + getIpAddressinString(src_ip, sourceip); + sprintf(mess, "Invalid udp source ip address for this detector. Must " "be " "same as hardware detector ip address %s in 1G readout " "mode \n", src_ip); - LOG(logERROR, (mess)); - } else + LOG(logERROR, (mess)); + } else #endif - if (configured == FAIL) { + if (configured == FAIL) { + ret = FAIL; + strcpy(mess, "Could not start acquisition because "); + strcat(mess, configureMessage); + LOG(logERROR, (mess)); + } else if (sharedMemory_getScanStatus() == RUNNING) { + ret = FAIL; + strcpy(mess, "Could not start acquisition because a scan is " + "already running!\n"); + LOG(logERROR, (mess)); + } else { + memset(scanErrMessage, 0, MAX_STR_LENGTH); + sharedMemory_setScanStop(0); + sharedMemory_setScanStatus(IDLE); // if it was error + if (pthread_create(&pthread_tid, NULL, &start_state_machine, + &blocking)) { ret = FAIL; - strcpy(mess, "Could not start acquisition because "); - strcat(mess, configureMessage); - LOG(logERROR, (mess)); - } else if (sharedMemory_getScanStatus() == RUNNING) { - ret = FAIL; - strcpy(mess, - "Could not start acquisition because a scan is " - "already running!\n"); + strcpy(mess, "Could not start acquisition thread!\n"); LOG(logERROR, (mess)); } else { - memset(scanErrMessage, 0, MAX_STR_LENGTH); - sharedMemory_setScanStop(0); - sharedMemory_setScanStatus(IDLE); // if it was error - if (pthread_create(&pthread_tid, NULL, &start_state_machine, - &blocking)) { - ret = FAIL; - strcpy(mess, "Could not start acquisition thread!\n"); - LOG(logERROR, (mess)); - } else { - // wait for blocking always (scan or not) - // non blocking-no scan also wait (for error message) - // non blcoking-scan dont wait (there is - // scanErrorMessage) - if (blocking || !scan) { - pthread_join(pthread_tid, NULL); - } else - pthread_detach(pthread_tid); - } + // wait for blocking always (scan or not) + // non blocking-no scan also wait (for error message) + // non blcoking-scan dont wait (there is + // scanErrorMessage) + if (blocking || !scan) { + pthread_join(pthread_tid, NULL); + } else + pthread_detach(pthread_tid); } + } } return Server_SendResult(file_des, INT32, NULL, 0); } @@ -2282,15 +2277,15 @@ int set_num_additional_storage_cells(int file_des) { #else // only set if (Server_VerifyLock() == OK) { - if (getChipVersion() == 11) { + if (!hasStorageCellsFeature()) { ret = FAIL; - sprintf(mess, - "Cannot set addl. number of storage cells for chip v1.1\n"); + sprintf(mess, "Cannot set addl. number of storage cells for this " + "chip version\n"); LOG(logERROR, (mess)); - } else if (arg > getMaxStoragecellStart()) { + } else if (arg > getMaxStorageCellStart()) { ret = FAIL; sprintf(mess, "Max Storage cell number should not exceed %d\n", - getMaxStoragecellStart()); + getMaxStorageCellStart()); LOG(logERROR, (mess)); } else { setNumAdditionalStorageCells(arg); @@ -2750,9 +2745,10 @@ int get_storage_cell_delay(int file_des) { functionNotImplemented(); #else // get only - if (getChipVersion() == 11) { + if (!hasStorageCellsFeature()) { ret = FAIL; - strcpy(mess, "Storage cell delay is not applicable for chipv 1.1\n"); + strcpy(mess, + "Storage cell delay is not applicable for this chip version\n"); LOG(logERROR, (mess)); } else { retval = getStorageCellDelay(); @@ -2778,10 +2774,11 @@ int set_storage_cell_delay(int file_des) { #else // only set if (Server_VerifyLock() == OK) { - if (getChipVersion() == 11) { + if (!hasStorageCellsFeature()) { ret = FAIL; - strcpy(mess, - "Storage cell delay is not applicable for chipv 1.1\n"); + strcpy( + mess, + "Storage cell delay is not applicable for this chip version\n"); LOG(logERROR, (mess)); } else if (arg > MAX_STORAGE_CELL_DLY_NS_VAL) { ret = FAIL; @@ -4131,15 +4128,22 @@ int storage_cell_start(int file_des) { #else // set & get if ((arg == GET_FLAG) || (Server_VerifyLock() == OK)) { - if (arg > getMaxStoragecellStart()) { + if (arg > getMaxStorageCellStart()) { ret = FAIL; sprintf(mess, "Max Storage cell number should not exceed %d\n", - getMaxStoragecellStart()); + getMaxStorageCellStart()); LOG(logERROR, (mess)); } else { - retval = selectStoragecellStart(arg); - LOG(logDEBUG1, ("Storage cell start: %d\n", retval)); - validate(&ret, mess, arg, retval, "set storage cell start", DEC); + if (arg >= 0) { + ret = setStorageCellStart(arg); + if (ret == FAIL) { + strcpy(mess, "Could not set storage cell start\n"); + LOG(logERROR, (mess)); + } + } else { + retval = getStorageCellStart(); + LOG(logDEBUG1, ("Storage cell start: %d\n", retval)); + } } } #endif @@ -6734,17 +6738,20 @@ int set_current_source(int file_des) { strcpy(mess, "Could not enable/disable current source. Enable can " "be 0 or 1 only.\n"); LOG(logERROR, (mess)); + return Server_SendResult(file_des, INT32, NULL, 0); } // disable - else if (enable == 0 && (fix != -1 || normal != -1)) { - ret = FAIL; - strcpy( - mess, - "Could not disable current source. Requires no parameters.\n"); - LOG(logERROR, (mess)); + if (enable == 0) { + if (fix != -1 || normal != -1) { + ret = FAIL; + strcpy(mess, "Could not disable current source. Requires no " + "parameters.\n"); + LOG(logERROR, (mess)); + return Server_SendResult(file_des, INT32, NULL, 0); + } } // enable - else if (enable == 1) { + else { #ifdef GOTTHARD2D // no parameters allowed if (fix != -1 || normal != -1) { @@ -6752,65 +6759,60 @@ int set_current_source(int file_des) { strcpy(mess, "Could not enable current source. Fix and normal " "are invalid parameters for this detector.\n"); LOG(logERROR, (mess)); + return Server_SendResult(file_des, INT32, NULL, 0); } #else - int chipVersion = getChipVersion(); - if (ret == OK) { - if (chipVersion == 11) { - // require both - if ((fix != 0 && fix != 1) || - (normal != 0 && normal != 1)) { - ret = FAIL; - strcpy(mess, "Could not enable current source. Invalid " - "or insufficient parameters (fix or " - "normal). or Options: 0 or 1.\n"); - LOG(logERROR, (mess)); - } - } - // chipv1.0 - else { - // require only fix - if (fix != 0 && fix != 1) { - ret = FAIL; - strcpy(mess, - "Could not enable current source. Invalid value " - "for parameter (fix). Options: 0 or 1.\n"); - LOG(logERROR, (mess)); - } else if (normal != -1) { - ret = FAIL; - strcpy(mess, "Could not enable current source. Invalid " - "parmaeter (normal). Require only fix and " - "select for chipv1.0.\n"); - LOG(logERROR, (mess)); - } - // select can only be 0-63 - else if (select > MAX_SELECT_CHIP10_VAL) { - ret = FAIL; - strcpy(mess, - "Could not enable current source. Invalid value " - "for parameter (select). Options: 0-63.\n"); - LOG(logERROR, (mess)); - } + // fix + if (fix != 0 && fix != 1) { + ret = FAIL; + strcpy(mess, "Could not enable current source. Invalid value " + "for parameter (fix). Options: 0 or 1.\n"); + LOG(logERROR, (mess)); + return Server_SendResult(file_des, INT32, NULL, 0); + } + + // normal + if (hasCurrentSourceNormalFeature()) { + if (normal != 0 && normal != 1) { + ret = FAIL; + strcpy(mess, + "Could not enable current source. Invalid value for " + "parameter (normal). Options: 0 or 1.\n"); + LOG(logERROR, (mess)); + return Server_SendResult(file_des, INT32, NULL, 0); } + } else if (normal != -1) { + ret = FAIL; + strcpy(mess, + "Could not enable current source. Invalid parameter " + "(normal). Not supported for this chip version.\n"); + LOG(logERROR, (mess)); + return Server_SendResult(file_des, INT32, NULL, 0); + } + + // select (only 0-63) + if (!hasCurrentSource64BitSelectionFeature() && + select > MAX_SELECT_CHIP10_VAL) { + ret = FAIL; + strcpy(mess, "Could not enable current source. Invalid value " + "for parameter (select). Options: 0-63.\n"); + LOG(logERROR, (mess)); + return Server_SendResult(file_des, INT32, NULL, 0); } #endif } - if (ret == OK) { #if defined(JUNGFRAUD) - if (enable == 0) { - disableCurrentSource(); - } else { - enableCurrentSource(fix, select, normal); - } + if (enable == 0) + disableCurrentSource(); + else + enableCurrentSource(fix, select, normal); #else - setCurrentSource(enable); + setCurrentSource(enable); #endif - int retval = getCurrentSource(); - LOG(logDEBUG1, ("current source enable retval: %u\n", retval)); - validate(&ret, mess, enable, retval, "set current source enable", - DEC); - } + int retval = getCurrentSource(); + LOG(logDEBUG1, ("current source enable retval: %u\n", retval)); + validate(&ret, mess, enable, retval, "set current source enable", DEC); } #endif return Server_SendResult(file_des, INT32, NULL, 0); @@ -7923,10 +7925,10 @@ int get_filter_resistor(int file_des) { #else // get only #if defined(JUNGFRAUD) - if (getChipVersion() == 10) { + if (!hasFilterResistorFeature()) { ret = FAIL; - strcpy(mess, "Could not get filter cell. Not available for this chip " - "version 1.0.\n"); + strcpy(mess, "Could not get filter resistor. Not available for this " + "chip version.\n"); LOG(logERROR, (mess)); } #endif @@ -7962,10 +7964,11 @@ int set_filter_resistor(int file_des) { LOG(logERROR, (mess)); } #if defined(JUNGFRAUD) - else if (getChipVersion() == 10) { + else if (!hasFilterResistorFeature()) { ret = FAIL; - strcpy(mess, "Could not set filter cell. Not available for this " - "chip version 1.0.\n"); + strcpy(mess, + "Could not set filter resistor. Not available for this " + "chip version.\n"); LOG(logERROR, (mess)); } #endif @@ -8697,14 +8700,15 @@ int set_veto_algorithm(int file_des) { int get_chip_version(int file_des) { ret = OK; memset(mess, 0, sizeof(mess)); - int retval = -1; + char retvals[MAX_STR_LENGTH]; + memset(retvals, 0, MAX_STR_LENGTH); #if !defined(JUNGFRAUD) functionNotImplemented(); #else - retval = getChipVersion(); + ret = getChipVersionInFPGA(retvals, mess); #endif - LOG(logDEBUG1, ("chip version retval: %d\n", retval)); - return Server_SendResult(file_des, INT32, &retval, sizeof(retval)); + LOG(logDEBUG1, ("chip version retval: %s\n", retvals)); + return Server_SendResult(file_des, OTHER, retvals, sizeof(retvals)); } int get_default_dac(int file_des) { @@ -8981,11 +8985,10 @@ int get_num_filter_cells(int file_des) { functionNotImplemented(); #else // get only - // only for chipv1.1 - if (getChipVersion() == 10) { + if (!hasFilterCellsFeature()) { ret = FAIL; - strcpy(mess, "Could not get number of filter cells. Only available for " - "chip version 1.1\n"); + strcpy(mess, "Could not get number of filter cells. Not available for " + "this chip version.\n"); LOG(logERROR, (mess)); } else { retval = getNumberOfFilterCells(); @@ -9018,13 +9021,10 @@ int set_num_filter_cells(int file_des) { "0 - %d\n", arg, MAX_FILTER_CELL_VAL); LOG(logERROR, (mess)); - } - // only for chipv1.1 - else if (getChipVersion() == 10) { + } else if (!hasFilterCellsFeature()) { ret = FAIL; - strcpy(mess, - "Could not set number of filter cells. Only available for " - "chip version 1.1\n"); + strcpy(mess, "Could not set number of filter cells. Not available " + "for this chip version.\n"); LOG(logERROR, (mess)); } else { setNumberOfFilterCells(arg); @@ -10745,13 +10745,6 @@ int set_pedestal_mode(int file_des) { "be 0. [%hhu, %hu].\n", frames, loops); LOG(logERROR, (mess)); - } else if (loops > MAX_PEDESTAL_LOOPS) { - ret = FAIL; - sprintf(mess, - "Could not set pedestal mode. Loops [%hu] cannot be " - "greater than %d.\n", - loops, MAX_PEDESTAL_LOOPS); - LOG(logERROR, (mess)); } else { setPedestalMode(enable, frames, loops); int retvalEnable = getPedestalMode(); diff --git a/slsDetectorServers/xilinx_ctbDetectorServer/RegisterDefs.h b/slsDetectorServers/xilinx_ctbDetectorServer/RegisterDefs.h index d0a6e8bdb..83652bc5a 100644 --- a/slsDetectorServers/xilinx_ctbDetectorServer/RegisterDefs.h +++ b/slsDetectorServers/xilinx_ctbDetectorServer/RegisterDefs.h @@ -10,7 +10,76 @@ #ifndef __CHEBY__XCTB__H__ #define __CHEBY__XCTB__H__ -#define XCTB_SIZE 49924 /* 0xc304 */ +#define XCTB_SIZE 50244 /* 0xc444 */ + +/* REG CRC0_LSB */ +#define CRC0_LSB 0xc400UL +#define CRC0_LSB_PRESET 0x0UL + +/* REG CRC0_MSB */ +#define CRC0_MSB 0xc404UL +#define CRC0_MSB_PRESET 0x0UL + +/* REG CRC1_LSB */ +#define CRC1_LSB 0xc408UL +#define CRC1_LSB_PRESET 0x0UL + +/* REG CRC1_MSB */ +#define CRC1_MSB 0xc40cUL +#define CRC1_MSB_PRESET 0x0UL + +/* REG CRC2_LSB */ +#define CRC2_LSB 0xc410UL +#define CRC2_LSB_PRESET 0x0UL + +/* REG CRC2_MSB */ +#define CRC2_MSB 0xc414UL +#define CRC2_MSB_PRESET 0x0UL + +/* REG CRC3_LSB */ +#define CRC3_LSB 0xc418UL +#define CRC3_LSB_PRESET 0x0UL + +/* REG CRC3_MSB */ +#define CRC3_MSB 0xc41cUL +#define CRC3_MSB_PRESET 0x0UL + +/* REG SET_CRC0_LSB */ +#define SET_CRC0_LSB 0xc420UL +#define SET_CRC0_LSB_PRESET 0x0UL + +/* REG SET_CRC0_MSB */ +#define SET_CRC0_MSB 0xc424UL +#define SET_CRC0_MSB_PRESET 0x0UL + +/* REG SET_CRC1_LSB */ +#define SET_CRC1_LSB 0xc428UL +#define SET_CRC1_LSB_PRESET 0x0UL + +/* REG SET_CRC1_MSB */ +#define SET_CRC1_MSB 0xc42cUL +#define SET_CRC1_MSB_PRESET 0x0UL + +/* REG SET_CRC2_LSB */ +#define SET_CRC2_LSB 0xc430UL +#define SET_CRC2_LSB_PRESET 0x0UL + +/* REG SET_CRC2_MSB */ +#define SET_CRC2_MSB 0xc434UL +#define SET_CRC2_MSB_PRESET 0x0UL + +/* REG SET_CRC3_LSB */ +#define SET_CRC3_LSB 0xc438UL +#define SET_CRC3_LSB_PRESET 0x0UL + +/* REG SET_CRC3_MSB */ +#define SET_CRC3_MSB 0xc43cUL +#define SET_CRC3_MSB_PRESET 0x0UL + +/* REG CRC_write */ +#define CRC_WRITE 0xc440UL +#define CRC_WRITE_MSK 0xfUL +#define CRC_WRITE_OFST 0 /* REG CTRL_Reg */ #define CTRL_REG 0x8000UL @@ -677,6 +746,34 @@ #define OBUFDTS_ENA_MSK 0xffffUL #define OBUFDTS_ENA_OFST 0 +/* REG OBUFDTS_invert */ +#define OBUFDTS_INVERT 0xc020UL +#define OBUFDTS_INVERT_MSK 0xffffUL +#define OBUFDTS_INVERT_OFST 0 + +/* REG GATE_MASK_LSB */ +#define GATE_MASK_LSB 0xc024UL +#define GATE_MASK_LSB_PRESET 0x0UL + +/* REG GATE_MASK_MSB */ +#define GATE_MASK_MSB 0xc028UL +#define GATE_MASK_MSB_PRESET 0x0UL + +/* REG GATE_CTRL */ +#define GATE_CTRL 0xc02cUL +#define GATE_ENABLE 0x1UL +#define GATE_ENABLE_MSK 0x1UL +#define GATE_ENABLE_OFST 0 +#define GATE_OPEN 0x2UL +#define GATE_OPEN_MSK 0x2UL +#define GATE_OPEN_OFST 1 +#define GATE_INVERT 0x4UL +#define GATE_INVERT_MSK 0x4UL +#define GATE_INVERT_OFST 2 +#define GATE_VALUE_WHEN_CLOSED 0x8UL +#define GATE_VALUE_WHEN_CLOSED_MSK 0x8UL +#define GATE_VALUE_WHEN_CLOSED_OFST 3 + /* REG A_FIFO_Overflow_Status_Reg */ #define A_FIFO_OVERFLOW_STATUS_REG 0x9000UL #define A_FIFO_OVERFLOW_STATUS_REG_PRESET 0x0UL diff --git a/slsDetectorServers/xilinx_ctbDetectorServer/bin/xilinx_ctbDetectorServer_developer b/slsDetectorServers/xilinx_ctbDetectorServer/bin/xilinx_ctbDetectorServer_developer index 175991ee8..2e28eddb4 100755 Binary files a/slsDetectorServers/xilinx_ctbDetectorServer/bin/xilinx_ctbDetectorServer_developer and b/slsDetectorServers/xilinx_ctbDetectorServer/bin/xilinx_ctbDetectorServer_developer differ diff --git a/slsDetectorServers/xilinx_ctbDetectorServer/slsDetectorFunctionList.c b/slsDetectorServers/xilinx_ctbDetectorServer/slsDetectorFunctionList.c index 838a8f0ed..573b68b48 100644 --- a/slsDetectorServers/xilinx_ctbDetectorServer/slsDetectorFunctionList.c +++ b/slsDetectorServers/xilinx_ctbDetectorServer/slsDetectorFunctionList.c @@ -1373,10 +1373,32 @@ void setTiming(enum timingMode arg) { case AUTO_TIMING: LOG(logINFO, ("Set Timing: Auto\n")); bus_w(FLOW_CONTROL_REG, bus_r(FLOW_CONTROL_REG) & ~TRIGGER_ENABLE_MSK); + bus_w(GATE_CTRL, bus_r(GATE_CTRL) & ~GATE_ENABLE_MSK); break; case TRIGGER_EXPOSURE: LOG(logINFO, ("Set Timing: Trigger\n")); bus_w(FLOW_CONTROL_REG, bus_r(FLOW_CONTROL_REG) | TRIGGER_ENABLE_MSK); + bus_w(GATE_CTRL, bus_r(GATE_CTRL) & ~GATE_ENABLE_MSK); + break; + case GATED: + // chip-specific config needed, see example reg definitions in + // matterhorn chiptesting repo + // - a gate mask setting to specify which bits of the pattern are gated + // (GATE_MASK_LSB & GATE_MASK_MSB) + // - value of the pattern bit when gating is enabled but gate is closed + // (GATE_VALUE_WHEN_CLOSED) + // - a gate inversion setting (GATE_INVERT_MSK) + LOG(logINFO, ("Set Timing: Gated\n")); + bus_w(FLOW_CONTROL_REG, bus_r(FLOW_CONTROL_REG) & ~TRIGGER_ENABLE_MSK); + bus_w(GATE_CTRL, bus_r(GATE_CTRL) | GATE_ENABLE_MSK); + break; + case TRIGGER_GATED: + // trigger + gate --> trigger will start a pattern and the output of the + // pattern is gated. NOT A GATED TRIGGER !! (this is not: "trigger + // starts a pattern only if the gate is open") + LOG(logINFO, ("Set Timing: Trigger Gated\n")); + bus_w(FLOW_CONTROL_REG, bus_r(FLOW_CONTROL_REG) | TRIGGER_ENABLE_MSK); + bus_w(GATE_CTRL, bus_r(GATE_CTRL) | GATE_ENABLE_MSK); break; default: LOG(logERROR, ("Unknown timing mode %d\n", arg)); @@ -1384,8 +1406,19 @@ void setTiming(enum timingMode arg) { } enum timingMode getTiming() { - if (bus_r(FLOW_CONTROL_REG) == TRIGGER_ENABLE_MSK) + uint32_t extTrigger = (bus_r(FLOW_CONTROL_REG) & TRIGGER_ENABLE_MSK); + uint32_t extGate = (bus_r(GATE_CTRL) & GATE_ENABLE_MSK); + + if (extTrigger) { + if (extGate) { + return TRIGGER_GATED; + } return TRIGGER_EXPOSURE; + } + + if (extGate) { + return GATED; + } return AUTO_TIMING; } diff --git a/slsDetectorServers/xilinx_ctbDetectorServer/slsDetectorServer_defs.h b/slsDetectorServers/xilinx_ctbDetectorServer/slsDetectorServer_defs.h index adf4691bc..393bb6874 100644 --- a/slsDetectorServers/xilinx_ctbDetectorServer/slsDetectorServer_defs.h +++ b/slsDetectorServers/xilinx_ctbDetectorServer/slsDetectorServer_defs.h @@ -4,7 +4,7 @@ #include "RegisterDefs.h" #include "sls/sls_detector_defs.h" -#define REQRD_FRMWRE_VRSN (0x250203) +#define REQRD_FRMWRE_VRSN (0x260813) #define KERNEL_DATE_VRSN "Wed Nov 29 17:32:14 CET 2023" #define LINKED_SERVER_NAME "xilinx_ctbDetectorServer" diff --git a/slsDetectorSoftware/generator/autocomplete/dump.json b/slsDetectorSoftware/generator/autocomplete/dump.json new file mode 100644 index 000000000..2a5d808a0 --- /dev/null +++ b/slsDetectorSoftware/generator/autocomplete/dump.json @@ -0,0 +1,76729 @@ +{ + "id": "0x558a51b80fb8", + "kind": "FunctionTemplateDecl", + "loc": { + "offset": 9823, + "file": "../include/sls/ToString.h", + "line": 305, + "col": 3, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 9744, + "line": 304, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10664, + "line": 327, + "col": 1, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "StringTo", + "inner": [ + { + "id": "0x558a51b80680", + "kind": "TemplateTypeParmDecl", + "loc": { + "offset": 9763, + "line": 304, + "col": 20, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 9754, + "col": 11, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9763, + "col": 20, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "T", + "tagUsed": "typename", + "depth": 0, + "index": 0 + }, + { + "id": "0x558a51b80c40", + "kind": "NonTypeTemplateParmDecl", + "loc": { + "offset": 9816, + "col": 73, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 9766, + "col": 23, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9818, + "col": 75, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "typename enable_if::value, int>::type", + "qualType": "std::enable_if_t::value, int>" + }, + "depth": 0, + "index": 1, + "defaultArg": { + "kind": "TemplateArgument", + "isExpr": true + }, + "inner": [ + { + "kind": "TemplateArgument", + "range": { + "begin": { + "offset": 9818, + "col": 75, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9818, + "col": 75, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isExpr": true, + "inner": [ + { + "id": "0x558a51b80be8", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 9818, + "col": 75, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9818, + "col": 75, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0" + } + ] + } + ] + }, + { + "id": "0x558a51b80f10", + "kind": "FunctionDecl", + "loc": { + "offset": 9823, + "line": 305, + "col": 3, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 9821, + "col": 1, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10664, + "line": 327, + "col": 1, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "StringTo", + "type": { + "qualType": "T (const std::string &, const std::string &)" + }, + "inner": [ + { + "id": "0x558a51b80d38", + "kind": "ParmVarDecl", + "loc": { + "offset": 9851, + "line": 305, + "col": 31, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 9832, + "col": 12, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9851, + "col": 31, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "t", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51b80df8", + "kind": "ParmVarDecl", + "loc": { + "offset": 9873, + "col": 53, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 9854, + "col": 34, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9873, + "col": 53, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "unit", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51bb5ed8", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 9879, + "col": 59, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10664, + "line": 327, + "col": 1, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51b811e0", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 9885, + "line": 306, + "col": 5, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9899, + "col": 19, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51b810a0", + "kind": "VarDecl", + "loc": { + "offset": 9892, + "col": 12, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 9885, + "col": 5, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9898, + "col": 18, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "tval", + "type": { + "qualType": "double" + }, + "init": "list", + "inner": [ + { + "id": "0x558a51b81180", + "kind": "InitListExpr", + "range": { + "begin": { + "offset": 9896, + "col": 16, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9898, + "col": 18, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51b811c0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 9897, + "col": 17, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9897, + "col": 17, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "prvalue", + "castKind": "IntegralToFloating", + "inner": [ + { + "id": "0x558a51b81108", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 9897, + "col": 17, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9897, + "col": 17, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0" + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51b81718", + "kind": "CXXTryStmt", + "range": { + "begin": { + "offset": 9905, + "line": 307, + "col": 5, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10055, + "line": 311, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51b813c8", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 9909, + "line": 307, + "col": 9, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9944, + "line": 309, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51b813a8", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 9919, + "line": 308, + "col": 9, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9937, + "col": 27, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "lvalue", + "opcode": "=", + "inner": [ + { + "id": "0x558a51b811f8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 9919, + "col": 9, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9919, + "col": 9, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b810a0", + "kind": "VarDecl", + "name": "tval", + "type": { + "qualType": "double" + } + } + }, + { + "id": "0x558a51b81358", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 9926, + "col": 16, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9937, + "col": 27, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51b81340", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 9926, + "col": 16, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9931, + "col": 21, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double (*)(const string &, size_t *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51b812a8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 9926, + "col": 16, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9931, + "col": 21, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double (const string &, size_t *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a50caf2a8", + "kind": "FunctionDecl", + "name": "stod", + "type": { + "qualType": "double (const string &, size_t *)" + } + } + } + ] + }, + { + "id": "0x558a51b81288", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 9936, + "col": 26, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9936, + "col": 26, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b80d38", + "kind": "ParmVarDecl", + "name": "t", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51b81388", + "kind": "CXXDefaultArgExpr", + "range": { + "begin": {}, + "end": {} + }, + "type": { + "qualType": "size_t *" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a50caf1d8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 159105, + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/bits/basic_string.h", + "line": 4489, + "col": 45, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 159105, + "col": 45, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "qualType": "size_t *" + }, + "valueCategory": "prvalue", + "castKind": "NullToPointer", + "inner": [ + { + "id": "0x558a50caf1b8", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 159105, + "col": 45, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 159105, + "col": 45, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0" + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51b816f8", + "kind": "CXXCatchStmt", + "range": { + "begin": { + "offset": 9946, + "file": "../include/sls/ToString.h", + "line": 309, + "col": 7, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10055, + "line": 311, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51b81498", + "kind": "VarDecl", + "loc": { + "offset": 9982, + "line": 309, + "col": 43, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 9953, + "col": 14, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9982, + "col": 43, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "e", + "type": { + "qualType": "const std::invalid_argument &" + } + }, + { + "id": "0x558a51b816e0", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 9985, + "col": 46, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10055, + "line": 311, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51b816c8", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 9995, + "line": 310, + "col": 9, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10048, + "col": 62, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51b816b0", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 9995, + "col": 9, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10048, + "col": 62, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51b81688", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 10001, + "col": 15, + "tokLen": 12, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10048, + "col": 62, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f849b0", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const char *)" + } + }, + "inner": [ + { + "id": "0x558a51b81668", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 10001, + "col": 15, + "tokLen": 12, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10048, + "col": 62, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51b81660", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51b81630", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 10001, + "col": 15, + "tokLen": 12, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10048, + "col": 62, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const char *)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51b815e8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10014, + "col": 28, + "tokLen": 34, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10014, + "col": 28, + "tokLen": 34, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51b81570", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 10014, + "col": 28, + "tokLen": 34, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10014, + "col": 28, + "tokLen": 34, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char[33]" + }, + "valueCategory": "lvalue", + "value": "\"Could not convert string to time\"" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51b817f0", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 10062, + "line": 313, + "col": 5, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10089, + "col": 32, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51b81748", + "kind": "UsingDecl", + "loc": { + "offset": 10081, + "col": 24, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 10062, + "col": 5, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10081, + "col": 24, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "std::chrono::duration" + } + ] + }, + { + "id": "0x558a51b818c0", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 10095, + "line": 314, + "col": 5, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10127, + "col": 37, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51b81818", + "kind": "UsingDecl", + "loc": { + "offset": 10114, + "col": 24, + "tokLen": 13, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 10095, + "col": 5, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10114, + "col": 24, + "tokLen": 13, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "std::chrono::duration_cast" + } + ] + }, + { + "id": "0x558a51bb5ea8", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 10133, + "line": 315, + "col": 5, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10662, + "line": 326, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "hasElse": true, + "inner": [ + { + "id": "0x558a51b82c30", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 10137, + "line": 315, + "col": 9, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10145, + "col": 17, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51b82c18", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10142, + "col": 14, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10142, + "col": 14, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51b82bf8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 10142, + "col": 14, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10142, + "col": 14, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51b818d8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 10137, + "col": 9, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10137, + "col": 9, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b80df8", + "kind": "ParmVarDecl", + "name": "unit", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51b82be0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10145, + "col": 17, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10145, + "col": 17, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51b818f8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 10145, + "col": 17, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10145, + "col": 17, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"ns\"" + } + ] + } + ] + }, + { + "id": "0x558a51b961b8", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 10151, + "col": 23, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10225, + "line": 317, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51b961a8", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 10161, + "line": 316, + "col": 9, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10218, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51b96180", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 10168, + "col": 16, + "tokLen": 13, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10218, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51b82c90", + "kind": "UnresolvedLookupExpr", + "range": { + "begin": { + "offset": 10168, + "col": 16, + "tokLen": 13, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10183, + "col": 31, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "lvalue", + "usesADL": true, + "name": "duration_cast", + "lookups": [ + { + "id": "0x558a51b81870", + "kind": "UsingShadowDecl", + "name": "duration_cast" + } + ], + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "T" + }, + "inner": [ + { + "id": "0x558a51b806d0", + "kind": "TemplateTypeParmType", + "type": { + "qualType": "T" + }, + "isDependent": true, + "isInstantiationDependent": true, + "depth": 0, + "index": 0, + "decl": { + "id": "0x558a51b80680", + "kind": "TemplateTypeParmDecl", + "name": "T" + } + } + ] + } + ] + }, + { + "id": "0x558a51b96158", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 10185, + "col": 33, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10217, + "col": 65, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::chrono::duration>", + "qualType": "duration" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a51b95e00", + "kind": "CXXConstructorDecl", + "name": "duration", + "type": { + "qualType": "void (const double &)" + } + }, + "inner": [ + { + "id": "0x558a51b96128", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 10185, + "col": 33, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10217, + "col": 65, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::chrono::duration>", + "qualType": "duration" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const double &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51b95f50", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10213, + "col": 61, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10213, + "col": 61, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const double" + }, + "valueCategory": "lvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51b82f70", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 10213, + "col": 61, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10213, + "col": 61, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b810a0", + "kind": "VarDecl", + "name": "tval", + "type": { + "qualType": "double" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb5e78", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 10232, + "line": 317, + "col": 12, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10662, + "line": 326, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "hasElse": true, + "inner": [ + { + "id": "0x558a51b97530", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 10236, + "line": 317, + "col": 16, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10244, + "col": 24, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51b97518", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10241, + "col": 21, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10241, + "col": 21, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51b974f8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 10241, + "col": 21, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10241, + "col": 21, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51b961d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 10236, + "col": 16, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10236, + "col": 16, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b80df8", + "kind": "ParmVarDecl", + "name": "unit", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51b974e0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10244, + "col": 24, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10244, + "col": 24, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51b961f0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 10244, + "col": 24, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10244, + "col": 24, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"us\"" + } + ] + } + ] + }, + { + "id": "0x558a51ba0a28", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 10250, + "col": 30, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10325, + "line": 319, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51ba0a18", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 10260, + "line": 318, + "col": 9, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10318, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51ba09f0", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 10267, + "col": 16, + "tokLen": 13, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10318, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51b97578", + "kind": "UnresolvedLookupExpr", + "range": { + "begin": { + "offset": 10267, + "col": 16, + "tokLen": 13, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10282, + "col": 31, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "lvalue", + "usesADL": true, + "name": "duration_cast", + "lookups": [ + { + "id": "0x558a51b81870", + "kind": "UsingShadowDecl", + "name": "duration_cast" + } + ], + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "T" + }, + "inner": [ + { + "id": "0x558a51b806d0", + "kind": "TemplateTypeParmType", + "type": { + "qualType": "T" + }, + "isDependent": true, + "isInstantiationDependent": true, + "depth": 0, + "index": 0, + "decl": { + "id": "0x558a51b80680", + "kind": "TemplateTypeParmDecl", + "name": "T" + } + } + ] + } + ] + }, + { + "id": "0x558a51ba09c8", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 10284, + "col": 33, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10317, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::chrono::duration>", + "qualType": "duration" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a51ba0670", + "kind": "CXXConstructorDecl", + "name": "duration", + "type": { + "qualType": "void (const double &)" + } + }, + "inner": [ + { + "id": "0x558a51ba0998", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 10284, + "col": 33, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10317, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::chrono::duration>", + "qualType": "duration" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const double &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51ba07c0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10313, + "col": 62, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10313, + "col": 62, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const double" + }, + "valueCategory": "lvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51b97840", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 10313, + "col": 62, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10313, + "col": 62, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b810a0", + "kind": "VarDecl", + "name": "tval", + "type": { + "qualType": "double" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb5e48", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 10332, + "line": 319, + "col": 12, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10662, + "line": 326, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "hasElse": true, + "inner": [ + { + "id": "0x558a51ba1da0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 10336, + "line": 319, + "col": 16, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10344, + "col": 24, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51ba1d88", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10341, + "col": 21, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10341, + "col": 21, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51ba1d68", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 10341, + "col": 21, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10341, + "col": 21, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51ba0a40", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 10336, + "col": 16, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10336, + "col": 16, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b80df8", + "kind": "ParmVarDecl", + "name": "unit", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51ba1d50", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10344, + "col": 24, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10344, + "col": 24, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51ba0a60", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 10344, + "col": 24, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10344, + "col": 24, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"ms\"" + } + ] + } + ] + }, + { + "id": "0x558a51bab298", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 10350, + "col": 30, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10425, + "line": 321, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bab288", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 10360, + "line": 320, + "col": 9, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10418, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bab260", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 10367, + "col": 16, + "tokLen": 13, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10418, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51ba1de8", + "kind": "UnresolvedLookupExpr", + "range": { + "begin": { + "offset": 10367, + "col": 16, + "tokLen": 13, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10382, + "col": 31, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "lvalue", + "usesADL": true, + "name": "duration_cast", + "lookups": [ + { + "id": "0x558a51b81870", + "kind": "UsingShadowDecl", + "name": "duration_cast" + } + ], + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "T" + }, + "inner": [ + { + "id": "0x558a51b806d0", + "kind": "TemplateTypeParmType", + "type": { + "qualType": "T" + }, + "isDependent": true, + "isInstantiationDependent": true, + "depth": 0, + "index": 0, + "decl": { + "id": "0x558a51b80680", + "kind": "TemplateTypeParmDecl", + "name": "T" + } + } + ] + } + ] + }, + { + "id": "0x558a51bab238", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 10384, + "col": 33, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10417, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::chrono::duration>", + "qualType": "duration" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a51baaee0", + "kind": "CXXConstructorDecl", + "name": "duration", + "type": { + "qualType": "void (const double &)" + } + }, + "inner": [ + { + "id": "0x558a51bab208", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 10384, + "col": 33, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10417, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::chrono::duration>", + "qualType": "duration" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const double &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51bab030", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10413, + "col": 62, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10413, + "col": 62, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const double" + }, + "valueCategory": "lvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51ba20b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 10413, + "col": 62, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10413, + "col": 62, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b810a0", + "kind": "VarDecl", + "name": "tval", + "type": { + "qualType": "double" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb5e18", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 10432, + "line": 321, + "col": 12, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10662, + "line": 326, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "hasElse": true, + "inner": [ + { + "id": "0x558a51bac6f0", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 10436, + "line": 321, + "col": 16, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10462, + "col": 42, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51bac610", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 10436, + "col": 16, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10444, + "col": 24, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51bac5f8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10441, + "col": 21, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10441, + "col": 21, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51bac5d8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 10441, + "col": 21, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10441, + "col": 21, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51bab2b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 10436, + "col": 16, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10436, + "col": 16, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b80df8", + "kind": "ParmVarDecl", + "name": "unit", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51bac5c0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10444, + "col": 24, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10444, + "col": 24, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51bab2d0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 10444, + "col": 24, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10444, + "col": 24, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char[2]" + }, + "valueCategory": "lvalue", + "value": "\"s\"" + } + ] + } + ] + }, + { + "id": "0x558a51bac698", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 10451, + "col": 31, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10462, + "col": 42, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bac668", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 10451, + "col": 31, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10456, + "col": 36, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "empty", + "isArrow": false, + "referencedMemberDecl": "0x558a50c83a88", + "inner": [ + { + "id": "0x558a51bac648", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 10451, + "col": 31, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10451, + "col": 31, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b80df8", + "kind": "ParmVarDecl", + "name": "unit", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb5c48", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 10465, + "col": 45, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10541, + "line": 323, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb5c38", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 10475, + "line": 322, + "col": 9, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10534, + "col": 68, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb5c10", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 10482, + "col": 16, + "tokLen": 13, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10534, + "col": 68, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bac720", + "kind": "UnresolvedLookupExpr", + "range": { + "begin": { + "offset": 10482, + "col": 16, + "tokLen": 13, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10497, + "col": 31, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "lvalue", + "usesADL": true, + "name": "duration_cast", + "lookups": [ + { + "id": "0x558a51b81870", + "kind": "UsingShadowDecl", + "name": "duration_cast" + } + ], + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "T" + }, + "inner": [ + { + "id": "0x558a51b806d0", + "kind": "TemplateTypeParmType", + "type": { + "qualType": "T" + }, + "isDependent": true, + "isInstantiationDependent": true, + "depth": 0, + "index": 0, + "decl": { + "id": "0x558a51b80680", + "kind": "TemplateTypeParmDecl", + "name": "T" + } + } + ] + } + ] + }, + { + "id": "0x558a51bb5be8", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 10499, + "col": 33, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10533, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "std::chrono::duration" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a51bb5890", + "kind": "CXXConstructorDecl", + "name": "duration", + "type": { + "qualType": "void (const double &)" + } + }, + "inner": [ + { + "id": "0x558a51bb5bb8", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 10499, + "col": 33, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10533, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "std::chrono::duration" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const double &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51bb59e0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10529, + "col": 63, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10529, + "col": 63, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const double" + }, + "valueCategory": "lvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51bac9d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 10529, + "col": 63, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10529, + "col": 63, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b810a0", + "kind": "VarDecl", + "name": "tval", + "type": { + "qualType": "double" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb5e00", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 10548, + "line": 323, + "col": 12, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10662, + "line": 326, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb5de8", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 10558, + "line": 324, + "col": 9, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10655, + "line": 325, + "col": 78, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51bb5dd0", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 10558, + "line": 324, + "col": 9, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10655, + "line": 325, + "col": 78, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb5da8", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 10564, + "line": 324, + "col": 15, + "tokLen": 12, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10655, + "line": 325, + "col": 78, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f849b0", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const char *)" + } + }, + "inner": [ + { + "id": "0x558a51bb5d88", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 10564, + "line": 324, + "col": 15, + "tokLen": 12, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10655, + "line": 325, + "col": 78, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51bb5d80", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51bb5d50", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 10564, + "line": 324, + "col": 15, + "tokLen": 12, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10655, + "line": 325, + "col": 78, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const char *)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51bb5d38", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10590, + "col": 13, + "tokLen": 65, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10590, + "col": 13, + "tokLen": 65, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51bb5ca0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 10590, + "col": 13, + "tokLen": 65, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10590, + "col": 13, + "tokLen": 65, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char[64]" + }, + "valueCategory": "lvalue", + "value": "\"Invalid unit in conversion from string to std::chrono::duration\"" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} +{ + "id": "0x558a51bb67e8", + "kind": "FunctionTemplateDecl", + "loc": { + "offset": 10747, + "file": "../include/sls/ToString.h", + "line": 330, + "col": 3, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 10667, + "line": 329, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11600, + "line": 354, + "col": 1, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "StringTo", + "inner": [ + { + "id": "0x558a51bb5f10", + "kind": "TemplateTypeParmDecl", + "loc": { + "offset": 10686, + "line": 329, + "col": 20, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 10677, + "col": 11, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10686, + "col": 20, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "T", + "tagUsed": "typename", + "depth": 0, + "index": 0 + }, + { + "id": "0x558a51bb64b0", + "kind": "NonTypeTemplateParmDecl", + "loc": { + "offset": 10740, + "col": 74, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 10689, + "col": 23, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10742, + "col": 76, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "typename enable_if::value, int>::type", + "qualType": "std::enable_if_t::value, int>" + }, + "depth": 0, + "index": 1, + "defaultArg": { + "kind": "TemplateArgument", + "isExpr": true + }, + "inner": [ + { + "kind": "TemplateArgument", + "range": { + "begin": { + "offset": 10742, + "col": 76, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10742, + "col": 76, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isExpr": true, + "inner": [ + { + "id": "0x558a51bb6458", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 10742, + "col": 76, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10742, + "col": 76, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0" + } + ] + } + ] + }, + { + "id": "0x558a51bb6740", + "kind": "FunctionDecl", + "loc": { + "offset": 10747, + "line": 330, + "col": 3, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 10745, + "col": 1, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11600, + "line": 354, + "col": 1, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "StringTo", + "type": { + "qualType": "T (const std::string &, const std::string &)" + }, + "inner": [ + { + "id": "0x558a51bb65a8", + "kind": "ParmVarDecl", + "loc": { + "offset": 10775, + "line": 330, + "col": 31, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 10756, + "col": 12, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10775, + "col": 31, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "f", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51bb6668", + "kind": "ParmVarDecl", + "loc": { + "offset": 10797, + "col": 53, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 10778, + "col": 34, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10797, + "col": 53, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "unit", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51bb86e0", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 10803, + "col": 59, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11600, + "line": 354, + "col": 1, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb6a20", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 10809, + "line": 331, + "col": 5, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10823, + "col": 19, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb68e0", + "kind": "VarDecl", + "loc": { + "offset": 10816, + "col": 12, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 10809, + "col": 5, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10822, + "col": 18, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "fval", + "type": { + "qualType": "double" + }, + "init": "list", + "inner": [ + { + "id": "0x558a51bb69c0", + "kind": "InitListExpr", + "range": { + "begin": { + "offset": 10820, + "col": 16, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10822, + "col": 18, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb6a00", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10821, + "col": 17, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10821, + "col": 17, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "prvalue", + "castKind": "IntegralToFloating", + "inner": [ + { + "id": "0x558a51bb6948", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 10821, + "col": 17, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10821, + "col": 17, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0" + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb6e08", + "kind": "CXXTryStmt", + "range": { + "begin": { + "offset": 10829, + "line": 332, + "col": 5, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10984, + "line": 336, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb6ba0", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 10833, + "line": 332, + "col": 9, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10868, + "line": 334, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb6b80", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 10843, + "line": 333, + "col": 9, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10861, + "col": 27, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "lvalue", + "opcode": "=", + "inner": [ + { + "id": "0x558a51bb6a38", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 10843, + "col": 9, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10843, + "col": 9, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb68e0", + "kind": "VarDecl", + "name": "fval", + "type": { + "qualType": "double" + } + } + }, + { + "id": "0x558a51bb6b30", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 10850, + "col": 16, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10861, + "col": 27, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb6b18", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10850, + "col": 16, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10855, + "col": 21, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double (*)(const string &, size_t *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51bb6ae8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 10850, + "col": 16, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10855, + "col": 21, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double (const string &, size_t *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a50caf2a8", + "kind": "FunctionDecl", + "name": "stod", + "type": { + "qualType": "double (const string &, size_t *)" + } + } + } + ] + }, + { + "id": "0x558a51bb6ac8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 10860, + "col": 26, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10860, + "col": 26, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb65a8", + "kind": "ParmVarDecl", + "name": "f", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51bb6b60", + "kind": "CXXDefaultArgExpr", + "range": { + "begin": {}, + "end": {} + }, + "type": { + "qualType": "size_t *" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a50caf1d8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 159105, + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/bits/basic_string.h", + "line": 4489, + "col": 45, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 159105, + "col": 45, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "qualType": "size_t *" + }, + "valueCategory": "prvalue", + "castKind": "NullToPointer", + "inner": [ + { + "id": "0x558a50caf1b8", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 159105, + "col": 45, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 159105, + "col": 45, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0" + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb6de8", + "kind": "CXXCatchStmt", + "range": { + "begin": { + "offset": 10870, + "file": "../include/sls/ToString.h", + "line": 334, + "col": 7, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10984, + "line": 336, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb6c10", + "kind": "VarDecl", + "loc": { + "offset": 10906, + "line": 334, + "col": 43, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 10877, + "col": 14, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10906, + "col": 43, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "e", + "type": { + "qualType": "const std::invalid_argument &" + } + }, + { + "id": "0x558a51bb6dd0", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 10909, + "col": 46, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10984, + "line": 336, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb6db8", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 10919, + "line": 335, + "col": 9, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10977, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51bb6da0", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 10919, + "col": 9, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10977, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb6d78", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 10925, + "col": 15, + "tokLen": 12, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10977, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f849b0", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const char *)" + } + }, + "inner": [ + { + "id": "0x558a51bb6d58", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 10925, + "col": 15, + "tokLen": 12, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10977, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51bb6d50", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51bb6d20", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 10925, + "col": 15, + "tokLen": 12, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10977, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const char *)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51bb6d08", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10938, + "col": 28, + "tokLen": 39, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10938, + "col": 28, + "tokLen": 39, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51bb6c88", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 10938, + "col": 28, + "tokLen": 39, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10938, + "col": 28, + "tokLen": 39, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char[38]" + }, + "valueCategory": "lvalue", + "value": "\"Could not convert string to frequency\"" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb7f88", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 10990, + "line": 337, + "col": 5, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11220, + "line": 342, + "col": 8, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb6e40", + "kind": "VarDecl", + "loc": { + "offset": 10995, + "line": 337, + "col": 10, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 10990, + "col": 5, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11219, + "line": 342, + "col": 7, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "unitLower", + "type": { + "qualType": "auto" + }, + "init": "c", + "inner": [ + { + "id": "0x558a51bb7f68", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 11007, + "line": 337, + "col": 22, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11219, + "line": 342, + "col": 7, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb7f40", + "kind": "LambdaExpr", + "range": { + "begin": { + "offset": 11007, + "line": 337, + "col": 22, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11217, + "line": 342, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "(lambda at ../include/sls/ToString.h:337:22)" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb6ea8", + "kind": "CXXRecordDecl", + "loc": { + "offset": 11007, + "line": 337, + "col": 22, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11007, + "col": 22, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11007, + "col": 22, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isImplicit": true, + "tagUsed": "class", + "completeDefinition": true, + "definitionData": { + "canConstDefaultInit": true, + "copyAssign": { + "hasConstParam": true, + "implicitHasConstParam": true, + "needsImplicit": true, + "trivial": true + }, + "copyCtor": { + "hasConstParam": true, + "implicitHasConstParam": true, + "needsImplicit": true, + "simple": true, + "trivial": true + }, + "defaultCtor": { + "defaultedIsConstexpr": true + }, + "dtor": { + "irrelevant": true, + "needsImplicit": true, + "simple": true, + "trivial": true + }, + "isEmpty": true, + "isLambda": true, + "isLiteral": true, + "isStandardLayout": true, + "isTriviallyCopyable": true, + "moveAssign": {}, + "moveCtor": { + "exists": true, + "needsImplicit": true, + "simple": true, + "trivial": true + } + }, + "inner": [ + { + "id": "0x558a51bb6ff0", + "kind": "CXXMethodDecl", + "loc": { + "offset": 11007, + "col": 22, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11009, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11217, + "line": 342, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "operator()", + "type": { + "qualType": "auto () const -> auto" + }, + "inline": true, + "inner": [ + { + "id": "0x558a51bb7f00", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 11011, + "line": 337, + "col": 26, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11217, + "line": 342, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb7300", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 11021, + "line": 338, + "col": 9, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11046, + "col": 34, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb7218", + "kind": "VarDecl", + "loc": { + "offset": 11033, + "col": 21, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11021, + "col": 9, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11042, + "col": 30, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "result", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "init": "c", + "inner": [ + { + "id": "0x558a51bb72d0", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 11042, + "col": 30, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11042, + "col": 30, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const basic_string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51bb7280", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11042, + "col": 30, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11042, + "col": 30, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb6668", + "kind": "ParmVarDecl", + "name": "unit", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb7e90", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 11056, + "line": 339, + "col": 9, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11187, + "line": 340, + "col": 71, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb7338", + "kind": "UnresolvedLookupExpr", + "range": { + "begin": { + "offset": 11056, + "line": 339, + "col": 9, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11061, + "col": 14, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "lvalue", + "usesADL": false, + "name": "transform", + "lookups": [ + { + "id": "0x558a51084b18", + "kind": "FunctionTemplateDecl", + "name": "transform" + }, + { + "id": "0x558a51093238", + "kind": "FunctionTemplateDecl", + "name": "transform" + }, + { + "id": "0x558a510cf5f0", + "kind": "FunctionTemplateDecl", + "name": "transform" + }, + { + "id": "0x558a510d0570", + "kind": "FunctionTemplateDecl", + "name": "transform" + } + ] + }, + { + "id": "0x558a51bb7448", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 11071, + "col": 24, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11084, + "col": 37, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator>", + "qualType": "iterator", + "typeAliasDeclId": "0x558a50c6d278" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb7418", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 11071, + "col": 24, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11078, + "col": 31, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "begin", + "isArrow": false, + "referencedMemberDecl": "0x558a50c81988", + "inner": [ + { + "id": "0x558a51bb7398", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11071, + "col": 24, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11071, + "col": 24, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb7218", + "kind": "VarDecl", + "name": "result", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51bb7518", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 11087, + "col": 40, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11098, + "col": 51, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator>", + "qualType": "iterator", + "typeAliasDeclId": "0x558a50c6d278" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb74e8", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 11087, + "col": 40, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11094, + "col": 47, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "end", + "isArrow": false, + "referencedMemberDecl": "0x558a50c81c78", + "inner": [ + { + "id": "0x558a51bb7468", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11087, + "col": 40, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11087, + "col": 40, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb7218", + "kind": "VarDecl", + "name": "result", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51bb75e8", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 11101, + "col": 54, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11114, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator>", + "qualType": "iterator", + "typeAliasDeclId": "0x558a50c6d278" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb75b8", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 11101, + "col": 54, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11108, + "col": 61, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "begin", + "isArrow": false, + "referencedMemberDecl": "0x558a50c81988", + "inner": [ + { + "id": "0x558a51bb7538", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11101, + "col": 54, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11101, + "col": 54, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb7218", + "kind": "VarDecl", + "name": "result", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51bb7e68", + "kind": "LambdaExpr", + "range": { + "begin": { + "offset": 11140, + "line": 340, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11186, + "col": 70, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "(lambda at ../include/sls/ToString.h:340:24)" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb7608", + "kind": "CXXRecordDecl", + "loc": { + "offset": 11140, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11140, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11140, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isImplicit": true, + "tagUsed": "class", + "completeDefinition": true, + "definitionData": { + "canConstDefaultInit": true, + "copyAssign": { + "hasConstParam": true, + "implicitHasConstParam": true, + "needsImplicit": true, + "trivial": true + }, + "copyCtor": { + "hasConstParam": true, + "implicitHasConstParam": true, + "needsImplicit": true, + "simple": true, + "trivial": true + }, + "defaultCtor": { + "defaultedIsConstexpr": true + }, + "dtor": { + "irrelevant": true, + "needsImplicit": true, + "simple": true, + "trivial": true + }, + "isEmpty": true, + "isLambda": true, + "isLiteral": true, + "isStandardLayout": true, + "isTriviallyCopyable": true, + "moveAssign": {}, + "moveCtor": { + "exists": true, + "needsImplicit": true, + "simple": true, + "trivial": true + } + }, + "inner": [ + { + "id": "0x558a51bb7750", + "kind": "CXXMethodDecl", + "loc": { + "offset": 11140, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11158, + "col": 42, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11186, + "col": 70, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "operator()", + "type": { + "qualType": "auto (unsigned char) const" + }, + "inline": true, + "inner": [ + { + "id": "0x558a51bb7820", + "kind": "ParmVarDecl", + "loc": { + "offset": 11157, + "col": 41, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11143, + "col": 27, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11157, + "col": 41, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "c", + "type": { + "qualType": "unsigned char" + } + }, + { + "id": "0x558a51bb7b20", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 11160, + "col": 44, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11186, + "col": 70, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb7b10", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 11162, + "col": 46, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11183, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb7ab8", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 11169, + "col": 53, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11183, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb7aa0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11169, + "col": 53, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11174, + "col": 58, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int (*)(int) noexcept(true)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51bb7a00", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11169, + "col": 53, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11174, + "col": 58, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int (int) noexcept(true)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a50760758", + "kind": "FunctionDecl", + "name": "tolower", + "type": { + "qualType": "int (int) noexcept(true)" + } + }, + "foundReferencedDecl": { + "id": "0x558a50768530", + "kind": "UsingShadowDecl", + "name": "tolower" + } + } + ] + }, + { + "id": "0x558a51bb7af8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a51bb7ae0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "unsigned char" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a51bb79e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "unsigned char" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb7820", + "kind": "ParmVarDecl", + "name": "c", + "type": { + "qualType": "unsigned char" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb7ce8", + "kind": "CXXConversionDecl", + "loc": { + "offset": 11140, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11140, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11186, + "col": 70, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isImplicit": true, + "name": "operator auto (*)(unsigned char)", + "type": { + "qualType": "auto (*() const noexcept)(unsigned char)" + }, + "inline": true, + "constexpr": true + }, + { + "id": "0x558a51bb7da0", + "kind": "CXXMethodDecl", + "loc": { + "offset": 11140, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11140, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11186, + "col": 70, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isImplicit": true, + "name": "__invoke", + "type": { + "qualType": "auto (unsigned char)" + }, + "storageClass": "static", + "inline": true, + "inner": [ + { + "id": "0x558a51bb7c80", + "kind": "ParmVarDecl", + "loc": { + "offset": 11157, + "col": 41, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11143, + "col": 27, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11157, + "col": 41, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "c", + "type": { + "qualType": "unsigned char" + } + } + ] + } + ] + }, + { + "id": "0x558a51bb7b20", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 11160, + "col": 44, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11186, + "col": 70, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb7b10", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 11162, + "col": 46, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11183, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb7ab8", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 11169, + "col": 53, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11183, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb7aa0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11169, + "col": 53, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11174, + "col": 58, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int (*)(int) noexcept(true)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51bb7a00", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11169, + "col": 53, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11174, + "col": 58, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int (int) noexcept(true)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a50760758", + "kind": "FunctionDecl", + "name": "tolower", + "type": { + "qualType": "int (int) noexcept(true)" + } + }, + "foundReferencedDecl": { + "id": "0x558a50768530", + "kind": "UsingShadowDecl", + "name": "tolower" + } + } + ] + }, + { + "id": "0x558a51bb7af8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a51bb7ae0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "unsigned char" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a51bb79e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "unsigned char" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb7820", + "kind": "ParmVarDecl", + "name": "c", + "type": { + "qualType": "unsigned char" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb7ef0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 11198, + "line": 341, + "col": 9, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11205, + "col": 16, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb7ed0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11205, + "col": 16, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11205, + "col": 16, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb7218", + "kind": "VarDecl", + "name": "result", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + } + } + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb7f00", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 11011, + "line": 337, + "col": 26, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11217, + "line": 342, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb7300", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 11021, + "line": 338, + "col": 9, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11046, + "col": 34, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb7218", + "kind": "VarDecl", + "loc": { + "offset": 11033, + "col": 21, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11021, + "col": 9, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11042, + "col": 30, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "result", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "init": "c", + "inner": [ + { + "id": "0x558a51bb72d0", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 11042, + "col": 30, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11042, + "col": 30, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const basic_string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51bb7280", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11042, + "col": 30, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11042, + "col": 30, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb6668", + "kind": "ParmVarDecl", + "name": "unit", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb7e90", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 11056, + "line": 339, + "col": 9, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11187, + "line": 340, + "col": 71, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb7338", + "kind": "UnresolvedLookupExpr", + "range": { + "begin": { + "offset": 11056, + "line": 339, + "col": 9, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11061, + "col": 14, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "lvalue", + "usesADL": false, + "name": "transform", + "lookups": [ + { + "id": "0x558a51084b18", + "kind": "FunctionTemplateDecl", + "name": "transform" + }, + { + "id": "0x558a51093238", + "kind": "FunctionTemplateDecl", + "name": "transform" + }, + { + "id": "0x558a510cf5f0", + "kind": "FunctionTemplateDecl", + "name": "transform" + }, + { + "id": "0x558a510d0570", + "kind": "FunctionTemplateDecl", + "name": "transform" + } + ] + }, + { + "id": "0x558a51bb7448", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 11071, + "col": 24, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11084, + "col": 37, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator>", + "qualType": "iterator", + "typeAliasDeclId": "0x558a50c6d278" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb7418", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 11071, + "col": 24, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11078, + "col": 31, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "begin", + "isArrow": false, + "referencedMemberDecl": "0x558a50c81988", + "inner": [ + { + "id": "0x558a51bb7398", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11071, + "col": 24, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11071, + "col": 24, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb7218", + "kind": "VarDecl", + "name": "result", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51bb7518", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 11087, + "col": 40, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11098, + "col": 51, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator>", + "qualType": "iterator", + "typeAliasDeclId": "0x558a50c6d278" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb74e8", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 11087, + "col": 40, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11094, + "col": 47, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "end", + "isArrow": false, + "referencedMemberDecl": "0x558a50c81c78", + "inner": [ + { + "id": "0x558a51bb7468", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11087, + "col": 40, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11087, + "col": 40, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb7218", + "kind": "VarDecl", + "name": "result", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51bb75e8", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 11101, + "col": 54, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11114, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator>", + "qualType": "iterator", + "typeAliasDeclId": "0x558a50c6d278" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb75b8", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 11101, + "col": 54, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11108, + "col": 61, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "begin", + "isArrow": false, + "referencedMemberDecl": "0x558a50c81988", + "inner": [ + { + "id": "0x558a51bb7538", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11101, + "col": 54, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11101, + "col": 54, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb7218", + "kind": "VarDecl", + "name": "result", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51bb7e68", + "kind": "LambdaExpr", + "range": { + "begin": { + "offset": 11140, + "line": 340, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11186, + "col": 70, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "(lambda at ../include/sls/ToString.h:340:24)" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb7608", + "kind": "CXXRecordDecl", + "loc": { + "offset": 11140, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11140, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11140, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isImplicit": true, + "tagUsed": "class", + "completeDefinition": true, + "definitionData": { + "canConstDefaultInit": true, + "copyAssign": { + "hasConstParam": true, + "implicitHasConstParam": true, + "needsImplicit": true, + "trivial": true + }, + "copyCtor": { + "hasConstParam": true, + "implicitHasConstParam": true, + "needsImplicit": true, + "simple": true, + "trivial": true + }, + "defaultCtor": { + "defaultedIsConstexpr": true + }, + "dtor": { + "irrelevant": true, + "needsImplicit": true, + "simple": true, + "trivial": true + }, + "isEmpty": true, + "isLambda": true, + "isLiteral": true, + "isStandardLayout": true, + "isTriviallyCopyable": true, + "moveAssign": {}, + "moveCtor": { + "exists": true, + "needsImplicit": true, + "simple": true, + "trivial": true + } + }, + "inner": [ + { + "id": "0x558a51bb7750", + "kind": "CXXMethodDecl", + "loc": { + "offset": 11140, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11158, + "col": 42, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11186, + "col": 70, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "operator()", + "type": { + "qualType": "auto (unsigned char) const" + }, + "inline": true, + "inner": [ + { + "id": "0x558a51bb7820", + "kind": "ParmVarDecl", + "loc": { + "offset": 11157, + "col": 41, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11143, + "col": 27, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11157, + "col": 41, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "c", + "type": { + "qualType": "unsigned char" + } + }, + { + "id": "0x558a51bb7b20", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 11160, + "col": 44, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11186, + "col": 70, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb7b10", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 11162, + "col": 46, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11183, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb7ab8", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 11169, + "col": 53, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11183, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb7aa0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11169, + "col": 53, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11174, + "col": 58, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int (*)(int) noexcept(true)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51bb7a00", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11169, + "col": 53, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11174, + "col": 58, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int (int) noexcept(true)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a50760758", + "kind": "FunctionDecl", + "name": "tolower", + "type": { + "qualType": "int (int) noexcept(true)" + } + }, + "foundReferencedDecl": { + "id": "0x558a50768530", + "kind": "UsingShadowDecl", + "name": "tolower" + } + } + ] + }, + { + "id": "0x558a51bb7af8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a51bb7ae0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "unsigned char" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a51bb79e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "unsigned char" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb7820", + "kind": "ParmVarDecl", + "name": "c", + "type": { + "qualType": "unsigned char" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb7ce8", + "kind": "CXXConversionDecl", + "loc": { + "offset": 11140, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11140, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11186, + "col": 70, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isImplicit": true, + "name": "operator auto (*)(unsigned char)", + "type": { + "qualType": "auto (*() const noexcept)(unsigned char)" + }, + "inline": true, + "constexpr": true + }, + { + "id": "0x558a51bb7da0", + "kind": "CXXMethodDecl", + "loc": { + "offset": 11140, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11140, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11186, + "col": 70, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isImplicit": true, + "name": "__invoke", + "type": { + "qualType": "auto (unsigned char)" + }, + "storageClass": "static", + "inline": true, + "inner": [ + { + "id": "0x558a51bb7c80", + "kind": "ParmVarDecl", + "loc": { + "offset": 11157, + "col": 41, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11143, + "col": 27, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11157, + "col": 41, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "c", + "type": { + "qualType": "unsigned char" + } + } + ] + } + ] + }, + { + "id": "0x558a51bb7b20", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 11160, + "col": 44, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11186, + "col": 70, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb7b10", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 11162, + "col": 46, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11183, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb7ab8", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 11169, + "col": 53, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11183, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb7aa0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11169, + "col": 53, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11174, + "col": 58, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int (*)(int) noexcept(true)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51bb7a00", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11169, + "col": 53, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11174, + "col": 58, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int (int) noexcept(true)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a50760758", + "kind": "FunctionDecl", + "name": "tolower", + "type": { + "qualType": "int (int) noexcept(true)" + } + }, + "foundReferencedDecl": { + "id": "0x558a50768530", + "kind": "UsingShadowDecl", + "name": "tolower" + } + } + ] + }, + { + "id": "0x558a51bb7af8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a51bb7ae0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "unsigned char" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a51bb79e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "unsigned char" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb7820", + "kind": "ParmVarDecl", + "name": "c", + "type": { + "qualType": "unsigned char" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb7ef0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 11198, + "line": 341, + "col": 9, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11205, + "col": 16, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb7ed0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11205, + "col": 16, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11205, + "col": 16, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb7218", + "kind": "VarDecl", + "name": "result", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb86b0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 11227, + "line": 344, + "col": 5, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11598, + "line": 353, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "hasElse": true, + "inner": [ + { + "id": "0x558a51bb7fe0", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 11231, + "line": 344, + "col": 9, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11244, + "col": 22, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "opcode": "==", + "inner": [ + { + "id": "0x558a51bb7fa0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11231, + "col": 9, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11231, + "col": 9, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "auto" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb6e40", + "kind": "VarDecl", + "name": "unitLower", + "type": { + "qualType": "auto" + } + } + }, + { + "id": "0x558a51bb7fc0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 11244, + "col": 22, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11244, + "col": 22, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char[4]" + }, + "valueCategory": "lvalue", + "value": "\"mhz\"" + } + ] + }, + { + "id": "0x558a51bb8120", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 11251, + "col": 29, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11305, + "line": 346, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb8110", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 11261, + "line": 345, + "col": 9, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11298, + "col": 46, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb80e8", + "kind": "CXXUnresolvedConstructExpr", + "range": { + "begin": { + "offset": 11268, + "col": 16, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11298, + "col": 46, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "T" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb80b8", + "kind": "CXXStaticCastExpr", + "range": { + "begin": { + "offset": 11270, + "col": 18, + "tokLen": 11, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11297, + "col": 45, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51bb80a0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11287, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11294, + "col": 42, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "FloatingToIntegral", + "isPartOfExplicitCast": true, + "inner": [ + { + "id": "0x558a51bb8068", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 11287, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11294, + "col": 42, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "prvalue", + "opcode": "*", + "inner": [ + { + "id": "0x558a51bb8050", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11287, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11287, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a51bb8010", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11287, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11287, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb68e0", + "kind": "VarDecl", + "name": "fval", + "type": { + "qualType": "double" + } + } + } + ] + }, + { + "id": "0x558a51bb8030", + "kind": "FloatingLiteral", + "range": { + "begin": { + "offset": 11294, + "col": 42, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11294, + "col": 42, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "prvalue", + "value": "1.0E+6" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb8680", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 11312, + "line": 346, + "col": 12, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11598, + "line": 353, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "hasElse": true, + "inner": [ + { + "id": "0x558a51bb8178", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 11316, + "line": 346, + "col": 16, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11329, + "col": 29, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "opcode": "==", + "inner": [ + { + "id": "0x558a51bb8138", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11316, + "col": 16, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11316, + "col": 16, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "auto" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb6e40", + "kind": "VarDecl", + "name": "unitLower", + "type": { + "qualType": "auto" + } + } + }, + { + "id": "0x558a51bb8158", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 11329, + "col": 29, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11329, + "col": 29, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char[4]" + }, + "valueCategory": "lvalue", + "value": "\"khz\"" + } + ] + }, + { + "id": "0x558a51bb82b8", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 11336, + "col": 36, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11390, + "line": 348, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb82a8", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 11346, + "line": 347, + "col": 9, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11383, + "col": 46, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb8280", + "kind": "CXXUnresolvedConstructExpr", + "range": { + "begin": { + "offset": 11353, + "col": 16, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11383, + "col": 46, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "T" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb8250", + "kind": "CXXStaticCastExpr", + "range": { + "begin": { + "offset": 11355, + "col": 18, + "tokLen": 11, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11382, + "col": 45, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51bb8238", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11372, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11379, + "col": 42, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "FloatingToIntegral", + "isPartOfExplicitCast": true, + "inner": [ + { + "id": "0x558a51bb8200", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 11372, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11379, + "col": 42, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "prvalue", + "opcode": "*", + "inner": [ + { + "id": "0x558a51bb81e8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11372, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11372, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a51bb81a8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11372, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11372, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb68e0", + "kind": "VarDecl", + "name": "fval", + "type": { + "qualType": "double" + } + } + } + ] + }, + { + "id": "0x558a51bb81c8", + "kind": "FloatingLiteral", + "range": { + "begin": { + "offset": 11379, + "col": 42, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11379, + "col": 42, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "prvalue", + "value": "1000" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb8650", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 11397, + "line": 348, + "col": 12, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11598, + "line": 353, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "hasElse": true, + "inner": [ + { + "id": "0x558a51bb83b8", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 11401, + "line": 348, + "col": 16, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11435, + "col": 50, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51bb8338", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 11401, + "col": 16, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11417, + "col": 32, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb82f0", + "kind": "CXXDependentScopeMemberExpr", + "range": { + "begin": { + "offset": 11401, + "col": 16, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11411, + "col": 26, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "lvalue", + "isArrow": false, + "member": "empty", + "inner": [ + { + "id": "0x558a51bb82d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11401, + "col": 16, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11401, + "col": 16, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "auto" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb6e40", + "kind": "VarDecl", + "name": "unitLower", + "type": { + "qualType": "auto" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51bb8398", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 11422, + "col": 37, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11435, + "col": 50, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "opcode": "==", + "inner": [ + { + "id": "0x558a51bb8358", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11422, + "col": 37, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11422, + "col": 37, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "auto" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb6e40", + "kind": "VarDecl", + "name": "unitLower", + "type": { + "qualType": "auto" + } + } + }, + { + "id": "0x558a51bb8378", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 11435, + "col": 50, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11435, + "col": 50, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"hz\"" + } + ] + } + ] + }, + { + "id": "0x558a51bb84b8", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 11441, + "col": 56, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11489, + "line": 350, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb84a8", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 11451, + "line": 349, + "col": 9, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11482, + "col": 40, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb8480", + "kind": "CXXUnresolvedConstructExpr", + "range": { + "begin": { + "offset": 11458, + "col": 16, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11482, + "col": 40, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "T" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb8450", + "kind": "CXXStaticCastExpr", + "range": { + "begin": { + "offset": 11460, + "col": 18, + "tokLen": 11, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11481, + "col": 39, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51bb8438", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11477, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11477, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "FloatingToIntegral", + "isPartOfExplicitCast": true, + "inner": [ + { + "id": "0x558a51bb8420", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11477, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11477, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "isPartOfExplicitCast": true, + "inner": [ + { + "id": "0x558a51bb83e8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11477, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11477, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb68e0", + "kind": "VarDecl", + "name": "fval", + "type": { + "qualType": "double" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb8638", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 11496, + "line": 350, + "col": 12, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11598, + "line": 353, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb8620", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 11506, + "line": 351, + "col": 9, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11591, + "line": 352, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51bb8608", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 11506, + "line": 351, + "col": 9, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11591, + "line": 352, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb85e0", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 11512, + "line": 351, + "col": 15, + "tokLen": 12, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11591, + "line": 352, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f849b0", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const char *)" + } + }, + "inner": [ + { + "id": "0x558a51bb85c0", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 11512, + "line": 351, + "col": 15, + "tokLen": 12, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11591, + "line": 352, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51bb85b8", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51bb8588", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 11512, + "line": 351, + "col": 15, + "tokLen": 12, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11591, + "line": 352, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const char *)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51bb8570", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11538, + "col": 13, + "tokLen": 53, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11538, + "col": 13, + "tokLen": 53, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51bb84e0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 11538, + "col": 13, + "tokLen": 53, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11538, + "col": 13, + "tokLen": 53, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char[52]" + }, + "valueCategory": "lvalue", + "value": "\"Invalid unit in conversion from string to frequency\"" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} +{ + "id": "0x558a51bb89b8", + "kind": "FunctionTemplateDecl", + "loc": { + "offset": 11627, + "file": "../include/sls/ToString.h", + "line": 356, + "col": 25, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11603, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11752, + "line": 360, + "col": 1, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "StringTo", + "inner": [ + { + "id": "0x558a51bb8710", + "kind": "TemplateTypeParmDecl", + "loc": { + "offset": 11622, + "line": 356, + "col": 20, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11613, + "col": 11, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11622, + "col": 20, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "T", + "tagUsed": "typename", + "depth": 0, + "index": 0 + }, + { + "id": "0x558a51bb8910", + "kind": "FunctionDecl", + "loc": { + "offset": 11627, + "col": 25, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11625, + "col": 23, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11752, + "line": 360, + "col": 1, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "StringTo", + "type": { + "qualType": "T (const std::string &)" + }, + "inner": [ + { + "id": "0x558a51bb8808", + "kind": "ParmVarDecl", + "loc": { + "offset": 11655, + "line": 356, + "col": 53, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11636, + "col": 34, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11655, + "col": 53, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "t", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51bb98a8", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 11658, + "col": 56, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11752, + "line": 360, + "col": 1, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb9470", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 11664, + "line": 357, + "col": 5, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11682, + "col": 23, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb8ad8", + "kind": "VarDecl", + "loc": { + "offset": 11676, + "col": 17, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11664, + "col": 5, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11681, + "col": 22, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "tmp", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "init": "list", + "inner": [ + { + "id": "0x558a51bb9440", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 11676, + "col": 17, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11681, + "col": 22, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const basic_string &)" + }, + "list": true, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51bb8b40", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11680, + "col": 21, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11680, + "col": 21, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb8808", + "kind": "ParmVarDecl", + "name": "t", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb9758", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 11688, + "line": 358, + "col": 5, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11715, + "col": 32, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb94a0", + "kind": "VarDecl", + "loc": { + "offset": 11693, + "col": 10, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11688, + "col": 5, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11714, + "col": 31, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "unit", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "init": "c", + "inner": [ + { + "id": "0x558a51bb9740", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 11700, + "col": 17, + "tokLen": 10, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11714, + "col": 31, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51bb9638", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 11700, + "col": 17, + "tokLen": 10, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11714, + "col": 31, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "prvalue", + "temp": "0x558a51bb9630", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51bb9608", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 11700, + "col": 17, + "tokLen": 10, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11714, + "col": 31, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb95f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11700, + "col": 17, + "tokLen": 10, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11700, + "col": 17, + "tokLen": 10, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "std::string (*)(std::string &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51bb9570", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11700, + "col": 17, + "tokLen": 10, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11700, + "col": 17, + "tokLen": 10, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "std::string (std::string &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a515dba80", + "kind": "FunctionDecl", + "name": "RemoveUnit", + "type": { + "qualType": "std::string (std::string &)" + } + } + } + ] + }, + { + "id": "0x558a51bb9550", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11711, + "col": 28, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11711, + "col": 28, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb8ad8", + "kind": "VarDecl", + "name": "tmp", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb9898", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 11721, + "line": 359, + "col": 5, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11749, + "col": 33, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb9868", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 11728, + "col": 12, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11749, + "col": 33, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb97a0", + "kind": "UnresolvedLookupExpr", + "range": { + "begin": { + "offset": 11728, + "col": 12, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11738, + "col": 22, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "lvalue", + "usesADL": true, + "name": "StringTo", + "lookups": [ + { + "id": "0x558a51bb89b8", + "kind": "FunctionTemplateDecl", + "name": "StringTo" + }, + { + "id": "0x558a51bb67e8", + "kind": "FunctionTemplateDecl", + "name": "StringTo" + }, + { + "id": "0x558a51b80fb8", + "kind": "FunctionTemplateDecl", + "name": "StringTo" + } + ], + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "T" + }, + "inner": [ + { + "id": "0x558a51bb8760", + "kind": "TemplateTypeParmType", + "type": { + "qualType": "T" + }, + "isDependent": true, + "isInstantiationDependent": true, + "depth": 0, + "index": 0, + "decl": { + "id": "0x558a51bb8710", + "kind": "TemplateTypeParmDecl", + "name": "T" + } + } + ] + } + ] + }, + { + "id": "0x558a51bb9828", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11740, + "col": 24, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11740, + "col": 24, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb8ad8", + "kind": "VarDecl", + "name": "tmp", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + } + } + }, + { + "id": "0x558a51bb9848", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11745, + "col": 29, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11745, + "col": 29, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb94a0", + "kind": "VarDecl", + "name": "unit", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + } + } + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f0e4c0", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::detectorType (const std::string &)" + } + }, + { + "id": "0x558a51f1a4a0", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::detectorSettings (const std::string &)" + } + }, + { + "id": "0x558a51f342d0", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::speedLevel (const std::string &)" + } + }, + { + "id": "0x558a51f3ee40", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::timingMode (const std::string &)" + } + }, + { + "id": "0x558a51f45d00", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::frameDiscardPolicy (const std::string &)" + } + }, + { + "id": "0x558a51f4a3c0", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::fileFormat (const std::string &)" + } + }, + { + "id": "0x558a51f4d5d0", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::externalSignalFlag (const std::string &)" + } + }, + { + "id": "0x558a51f53080", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::readoutMode (const std::string &)" + } + }, + { + "id": "0x558a51f59f80", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::dacIndex (const std::string &)" + } + }, + { + "id": "0x558a51fdff60", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::powerIndex (const std::string &)" + } + }, + { + "id": "0x558a51fe8260", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::burstMode (const std::string &)" + } + }, + { + "id": "0x558a51fedcf0", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::timingSourceType (const std::string &)" + } + }, + { + "id": "0x558a51ff0f40", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::M3_GainCaps (const std::string &)" + } + }, + { + "id": "0x558a51ff9230", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::portPosition (const std::string &)" + } + }, + { + "id": "0x558a51ffecb0", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::streamingInterface (const std::string &)" + } + }, + { + "id": "0x558a52004ac0", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::vetoAlgorithm (const std::string &)" + } + }, + { + "id": "0x558a52007ce0", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::gainMode (const std::string &)" + } + }, + { + "id": "0x558a5200ffd0", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::polarity (const std::string &)" + } + }, + { + "id": "0x558a520131e0", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::timingInfoDecoder (const std::string &)" + } + }, + { + "id": "0x558a52016430", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::collectionMode (const std::string &)" + } + }, + { + "id": "0x558a51bc0990", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "RegisterAddress (const std::string &)" + } + }, + { + "id": "0x558a51bc0ea0", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "RegisterValue (const std::string &)" + } + }, + { + "id": "0x558a52019620", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "uint8_t (const std::string &)" + } + }, + { + "id": "0x558a5201e790", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "uint16_t (const std::string &)" + } + }, + { + "id": "0x558a52020810", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "uint32_t (const std::string &)" + } + }, + { + "id": "0x558a52021880", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "uint64_t (const std::string &)" + } + }, + { + "id": "0x558a520228f8", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "int (const std::string &)" + } + }, + { + "id": "0x558a52023900", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "bool (const std::string &)" + } + }, + { + "id": "0x558a52029d80", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "int64_t (const std::string &)" + } + } + ] +} +{ + "id": "0x558a51bb9aa0", + "kind": "FunctionDecl", + "loc": { + "offset": 11786, + "file": "../include/sls/ToString.h", + "line": 362, + "col": 32, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11755, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11815, + "col": 61, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bb9d10", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs12detectorTypeEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::detectorType (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::detectorType" + }, + "inner": [ + { + "id": "0x558a5144b720", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::detectorType" + }, + "decl": { + "id": "0x558a5144b680", + "kind": "EnumDecl", + "name": "detectorType" + } + } + ] + }, + { + "id": "0x558a51bb9980", + "kind": "ParmVarDecl", + "loc": { + "offset": 11814, + "col": 60, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11795, + "col": 41, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11814, + "col": 60, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +} +{ + "id": "0x558a51bba030", + "kind": "FunctionDecl", + "loc": { + "offset": 11853, + "file": "../include/sls/ToString.h", + "line": 363, + "col": 36, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11818, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11882, + "col": 65, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bba2a0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs16detectorSettingsEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::detectorSettings (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "inner": [ + { + "id": "0x558a5152da90", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "decl": { + "id": "0x558a5152d9e8", + "kind": "EnumDecl", + "name": "detectorSettings" + } + } + ] + }, + { + "id": "0x558a51bb9f10", + "kind": "ParmVarDecl", + "loc": { + "offset": 11881, + "col": 64, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11862, + "col": 45, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11881, + "col": 64, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +} +{ + "id": "0x558a51bba5c0", + "kind": "FunctionDecl", + "loc": { + "offset": 11914, + "file": "../include/sls/ToString.h", + "line": 364, + "col": 30, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11885, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11943, + "col": 59, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bba830", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs10speedLevelEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::speedLevel (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::speedLevel" + }, + "inner": [ + { + "id": "0x558a5152e840", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::speedLevel" + }, + "decl": { + "id": "0x558a5152e798", + "kind": "EnumDecl", + "name": "speedLevel" + } + } + ] + }, + { + "id": "0x558a51bba4a0", + "kind": "ParmVarDecl", + "loc": { + "offset": 11942, + "col": 58, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11923, + "col": 39, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11942, + "col": 58, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +} +{ + "id": "0x558a51bbab50", + "kind": "FunctionDecl", + "loc": { + "offset": 11975, + "file": "../include/sls/ToString.h", + "line": 365, + "col": 30, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11946, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12004, + "col": 59, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bbadc0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs10timingModeEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::timingMode (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::timingMode" + }, + "inner": [ + { + "id": "0x558a5152b060", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::timingMode" + }, + "decl": { + "id": "0x558a5152afb8", + "kind": "EnumDecl", + "name": "timingMode" + } + } + ] + }, + { + "id": "0x558a51bbaa30", + "kind": "ParmVarDecl", + "loc": { + "offset": 12003, + "col": 58, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11984, + "col": 39, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12003, + "col": 58, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +} +{ + "id": "0x558a51bbb0e0", + "kind": "FunctionDecl", + "loc": { + "offset": 12044, + "file": "../include/sls/ToString.h", + "line": 366, + "col": 38, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12007, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12073, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bbb350", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs18frameDiscardPolicyEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::frameDiscardPolicy (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::frameDiscardPolicy" + }, + "inner": [ + { + "id": "0x558a51529090", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::frameDiscardPolicy" + }, + "decl": { + "id": "0x558a51528fe8", + "kind": "EnumDecl", + "name": "frameDiscardPolicy" + } + } + ] + }, + { + "id": "0x558a51bbafc0", + "kind": "ParmVarDecl", + "loc": { + "offset": 12072, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12053, + "col": 47, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12072, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +} +{ + "id": "0x558a51bbb670", + "kind": "FunctionDecl", + "loc": { + "offset": 12105, + "file": "../include/sls/ToString.h", + "line": 367, + "col": 30, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12076, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12134, + "col": 59, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bbb8e0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs10fileFormatEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::fileFormat (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::fileFormat" + }, + "inner": [ + { + "id": "0x558a515292b0", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::fileFormat" + }, + "decl": { + "id": "0x558a51529210", + "kind": "EnumDecl", + "name": "fileFormat" + } + } + ] + }, + { + "id": "0x558a51bbb550", + "kind": "ParmVarDecl", + "loc": { + "offset": 12133, + "col": 58, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12114, + "col": 39, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12133, + "col": 58, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +} +{ + "id": "0x558a51bbbc00", + "kind": "FunctionDecl", + "loc": { + "offset": 12174, + "file": "../include/sls/ToString.h", + "line": 368, + "col": 38, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12137, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12203, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bbbe70", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs18externalSignalFlagEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::externalSignalFlag (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::externalSignalFlag" + }, + "inner": [ + { + "id": "0x558a5152ae10", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::externalSignalFlag" + }, + "decl": { + "id": "0x558a5152ad68", + "kind": "EnumDecl", + "name": "externalSignalFlag" + } + } + ] + }, + { + "id": "0x558a51bbbae0", + "kind": "ParmVarDecl", + "loc": { + "offset": 12202, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12183, + "col": 47, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12202, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +} +{ + "id": "0x558a51bbc190", + "kind": "FunctionDecl", + "loc": { + "offset": 12236, + "file": "../include/sls/ToString.h", + "line": 369, + "col": 31, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12206, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12265, + "col": 60, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bbc400", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs11readoutModeEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::readoutMode (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::readoutMode" + }, + "inner": [ + { + "id": "0x558a5152e590", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::readoutMode" + }, + "decl": { + "id": "0x558a5152e4e8", + "kind": "EnumDecl", + "name": "readoutMode" + } + } + ] + }, + { + "id": "0x558a51bbc070", + "kind": "ParmVarDecl", + "loc": { + "offset": 12264, + "col": 59, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12245, + "col": 40, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12264, + "col": 59, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +} +{ + "id": "0x558a51bbc720", + "kind": "FunctionDecl", + "loc": { + "offset": 12295, + "file": "../include/sls/ToString.h", + "line": 370, + "col": 28, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12268, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12324, + "col": 57, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bbc990", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs8dacIndexEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::dacIndex (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "inner": [ + { + "id": "0x558a5152b360", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "decl": { + "id": "0x558a5152b2b8", + "kind": "EnumDecl", + "name": "dacIndex" + } + } + ] + }, + { + "id": "0x558a51bbc600", + "kind": "ParmVarDecl", + "loc": { + "offset": 12323, + "col": 56, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12304, + "col": 37, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12323, + "col": 56, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +} +{ + "id": "0x558a51bbccb0", + "kind": "FunctionDecl", + "loc": { + "offset": 12356, + "file": "../include/sls/ToString.h", + "line": 371, + "col": 30, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12327, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12385, + "col": 59, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bbcf20", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs10powerIndexEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::powerIndex (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::powerIndex" + }, + "inner": [ + { + "id": "0x558a5152d5d0", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::powerIndex" + }, + "decl": { + "id": "0x558a5152d530", + "kind": "EnumDecl", + "name": "powerIndex" + } + } + ] + }, + { + "id": "0x558a51bbcb90", + "kind": "ParmVarDecl", + "loc": { + "offset": 12384, + "col": 58, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12365, + "col": 39, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12384, + "col": 58, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +} +{ + "id": "0x558a51bbd240", + "kind": "FunctionDecl", + "loc": { + "offset": 12416, + "file": "../include/sls/ToString.h", + "line": 372, + "col": 29, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12388, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12445, + "col": 58, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bbd4b0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs9burstModeEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::burstMode (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::burstMode" + }, + "inner": [ + { + "id": "0x558a5152eaf0", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::burstMode" + }, + "decl": { + "id": "0x558a5152ea48", + "kind": "EnumDecl", + "name": "burstMode" + } + } + ] + }, + { + "id": "0x558a51bbd120", + "kind": "ParmVarDecl", + "loc": { + "offset": 12444, + "col": 57, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12425, + "col": 38, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12444, + "col": 57, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +} +{ + "id": "0x558a51bbd7d0", + "kind": "FunctionDecl", + "loc": { + "offset": 12483, + "file": "../include/sls/ToString.h", + "line": 373, + "col": 36, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12448, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12512, + "col": 65, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bbda40", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs16timingSourceTypeEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::timingSourceType (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::timingSourceType" + }, + "inner": [ + { + "id": "0x558a5152eda0", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::timingSourceType" + }, + "decl": { + "id": "0x558a5152ecf8", + "kind": "EnumDecl", + "name": "timingSourceType" + } + } + ] + }, + { + "id": "0x558a51bbd6b0", + "kind": "ParmVarDecl", + "loc": { + "offset": 12511, + "col": 64, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12492, + "col": 45, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12511, + "col": 64, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +} +{ + "id": "0x558a51bbdd60", + "kind": "FunctionDecl", + "loc": { + "offset": 12545, + "file": "../include/sls/ToString.h", + "line": 374, + "col": 31, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12515, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12574, + "col": 60, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bbdfd0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs11M3_GainCapsEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::M3_GainCaps (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::M3_GainCaps" + }, + "inner": [ + { + "id": "0x558a5152ef10", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::M3_GainCaps" + }, + "decl": { + "id": "0x558a5152ee70", + "kind": "EnumDecl", + "name": "M3_GainCaps" + } + } + ] + }, + { + "id": "0x558a51bbdc40", + "kind": "ParmVarDecl", + "loc": { + "offset": 12573, + "col": 59, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12554, + "col": 40, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12573, + "col": 59, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +} +{ + "id": "0x558a51bbe2f0", + "kind": "FunctionDecl", + "loc": { + "offset": 12608, + "file": "../include/sls/ToString.h", + "line": 375, + "col": 32, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12577, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12637, + "col": 61, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bbe560", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs12portPositionEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::portPosition (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::portPosition" + }, + "inner": [ + { + "id": "0x558a5152f570", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::portPosition" + }, + "decl": { + "id": "0x558a5152f4d0", + "kind": "EnumDecl", + "name": "portPosition" + } + } + ] + }, + { + "id": "0x558a51bbe1d0", + "kind": "ParmVarDecl", + "loc": { + "offset": 12636, + "col": 60, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12617, + "col": 41, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12636, + "col": 60, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +} +{ + "id": "0x558a51bbe880", + "kind": "FunctionDecl", + "loc": { + "offset": 12677, + "file": "../include/sls/ToString.h", + "line": 376, + "col": 38, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12640, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12706, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bbeaf0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs18streamingInterfaceEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::streamingInterface (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::streamingInterface" + }, + "inner": [ + { + "id": "0x558a5152f930", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::streamingInterface" + }, + "decl": { + "id": "0x558a5152f890", + "kind": "EnumDecl", + "name": "streamingInterface" + } + } + ] + }, + { + "id": "0x558a51bbe760", + "kind": "ParmVarDecl", + "loc": { + "offset": 12705, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12686, + "col": 47, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12705, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +} +{ + "id": "0x558a51bbee10", + "kind": "FunctionDecl", + "loc": { + "offset": 12741, + "file": "../include/sls/ToString.h", + "line": 377, + "col": 33, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12709, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12770, + "col": 62, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bbf080", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs13vetoAlgorithmEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::vetoAlgorithm (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::vetoAlgorithm" + }, + "inner": [ + { + "id": "0x558a5152fd10", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::vetoAlgorithm" + }, + "decl": { + "id": "0x558a5152fc70", + "kind": "EnumDecl", + "name": "vetoAlgorithm" + } + } + ] + }, + { + "id": "0x558a51bbecf0", + "kind": "ParmVarDecl", + "loc": { + "offset": 12769, + "col": 61, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12750, + "col": 42, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12769, + "col": 61, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +} +{ + "id": "0x558a51bbf3a0", + "kind": "FunctionDecl", + "loc": { + "offset": 12800, + "file": "../include/sls/ToString.h", + "line": 378, + "col": 28, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12773, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12829, + "col": 57, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bbf610", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs8gainModeEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::gainMode (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::gainMode" + }, + "inner": [ + { + "id": "0x558a5152fe80", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::gainMode" + }, + "decl": { + "id": "0x558a5152fde0", + "kind": "EnumDecl", + "name": "gainMode" + } + } + ] + }, + { + "id": "0x558a51bbf280", + "kind": "ParmVarDecl", + "loc": { + "offset": 12828, + "col": 56, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12809, + "col": 37, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12828, + "col": 56, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +} +{ + "id": "0x558a51bbf930", + "kind": "FunctionDecl", + "loc": { + "offset": 12859, + "file": "../include/sls/ToString.h", + "line": 379, + "col": 28, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12832, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12888, + "col": 57, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bbfba0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs8polarityEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::polarity (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::polarity" + }, + "inner": [ + { + "id": "0x558a51530150", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::polarity" + }, + "decl": { + "id": "0x558a515300b0", + "kind": "EnumDecl", + "name": "polarity" + } + } + ] + }, + { + "id": "0x558a51bbf810", + "kind": "ParmVarDecl", + "loc": { + "offset": 12887, + "col": 56, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12868, + "col": 37, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12887, + "col": 56, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +} +{ + "id": "0x558a51bbfec0", + "kind": "FunctionDecl", + "loc": { + "offset": 12927, + "file": "../include/sls/ToString.h", + "line": 380, + "col": 37, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12891, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12956, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bc0130", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs17timingInfoDecoderEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::timingInfoDecoder (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::timingInfoDecoder" + }, + "inner": [ + { + "id": "0x558a515302c0", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::timingInfoDecoder" + }, + "decl": { + "id": "0x558a51530220", + "kind": "EnumDecl", + "name": "timingInfoDecoder" + } + } + ] + }, + { + "id": "0x558a51bbfda0", + "kind": "ParmVarDecl", + "loc": { + "offset": 12955, + "col": 65, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12936, + "col": 46, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12955, + "col": 65, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +} +{ + "id": "0x558a51bc0450", + "kind": "FunctionDecl", + "loc": { + "offset": 12992, + "file": "../include/sls/ToString.h", + "line": 381, + "col": 34, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12959, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13021, + "col": 63, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bc06c0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs14collectionModeEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::collectionMode (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::collectionMode" + }, + "inner": [ + { + "id": "0x558a51530430", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::collectionMode" + }, + "decl": { + "id": "0x558a51530390", + "kind": "EnumDecl", + "name": "collectionMode" + } + } + ] + }, + { + "id": "0x558a51bc0330", + "kind": "ParmVarDecl", + "loc": { + "offset": 13020, + "col": 62, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13001, + "col": 43, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13020, + "col": 62, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +} +{ + "id": "0x558a51bc0990", + "kind": "FunctionDecl", + "loc": { + "offset": 13052, + "file": "../include/sls/ToString.h", + "line": 382, + "col": 29, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13024, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13081, + "col": 58, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bc0bd0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToINS_15RegisterAddressEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "RegisterAddress (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "sls::RegisterAddress" + }, + "inner": [ + { + "id": "0x558a515bd700", + "kind": "RecordType", + "type": { + "qualType": "sls::RegisterAddress" + }, + "decl": { + "id": "0x558a515bd670", + "kind": "CXXRecordDecl", + "name": "RegisterAddress" + } + } + ] + }, + { + "id": "0x558a51bc0880", + "kind": "ParmVarDecl", + "loc": { + "offset": 13080, + "col": 57, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13061, + "col": 38, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13080, + "col": 57, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +} +{ + "id": "0x558a51bc0ea0", + "kind": "FunctionDecl", + "loc": { + "offset": 13110, + "file": "../include/sls/ToString.h", + "line": 383, + "col": 27, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13084, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13139, + "col": 56, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bc10e0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToINS_13RegisterValueEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "RegisterValue (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "sls::RegisterValue" + }, + "inner": [ + { + "id": "0x558a515c0d60", + "kind": "RecordType", + "type": { + "qualType": "sls::RegisterValue" + }, + "decl": { + "id": "0x558a515c0cd0", + "kind": "CXXRecordDecl", + "name": "RegisterValue" + } + } + ] + }, + { + "id": "0x558a51bc0d90", + "kind": "ParmVarDecl", + "loc": { + "offset": 13138, + "col": 55, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13119, + "col": 36, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13138, + "col": 55, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +} +{ + "id": "0x558a51bc13b0", + "kind": "FunctionDecl", + "loc": { + "offset": 13163, + "file": "../include/sls/ToString.h", + "line": 385, + "col": 21, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13143, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13192, + "col": 50, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bc15f0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIhEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "uint8_t (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "unsigned char" + }, + "inner": [ + { + "id": "0x558a5015ac50", + "kind": "BuiltinType", + "type": { + "qualType": "unsigned char" + } + } + ] + }, + { + "id": "0x558a51bc12a0", + "kind": "ParmVarDecl", + "loc": { + "offset": 13191, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13172, + "col": 30, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13191, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +} +{ + "id": "0x558a51bc18c0", + "kind": "FunctionDecl", + "loc": { + "offset": 13216, + "file": "../include/sls/ToString.h", + "line": 386, + "col": 22, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13195, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13245, + "col": 51, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bc1b00", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToItEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "uint16_t (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "unsigned short" + }, + "inner": [ + { + "id": "0x558a5015ac70", + "kind": "BuiltinType", + "type": { + "qualType": "unsigned short" + } + } + ] + }, + { + "id": "0x558a51bc17b0", + "kind": "ParmVarDecl", + "loc": { + "offset": 13244, + "col": 50, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13225, + "col": 31, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13244, + "col": 50, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +} +{ + "id": "0x558a51bc1dd0", + "kind": "FunctionDecl", + "loc": { + "offset": 13269, + "file": "../include/sls/ToString.h", + "line": 387, + "col": 22, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13248, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13298, + "col": 51, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bc2010", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIjEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "uint32_t (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "unsigned int" + }, + "inner": [ + { + "id": "0x558a5015ac90", + "kind": "BuiltinType", + "type": { + "qualType": "unsigned int" + } + } + ] + }, + { + "id": "0x558a51bc1cc0", + "kind": "ParmVarDecl", + "loc": { + "offset": 13297, + "col": 50, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13278, + "col": 31, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13297, + "col": 50, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +} +{ + "id": "0x558a51bc22a0", + "kind": "FunctionDecl", + "loc": { + "offset": 13322, + "file": "../include/sls/ToString.h", + "line": 388, + "col": 22, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13301, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13351, + "col": 51, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bc24e0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToImEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "uint64_t (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "unsigned long" + }, + "inner": [ + { + "id": "0x558a5015acb0", + "kind": "BuiltinType", + "type": { + "qualType": "unsigned long" + } + } + ] + }, + { + "id": "0x558a51bc21d0", + "kind": "ParmVarDecl", + "loc": { + "offset": 13350, + "col": 50, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13331, + "col": 31, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13350, + "col": 50, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +} +{ + "id": "0x558a51bc27b8", + "kind": "FunctionDecl", + "loc": { + "offset": 13370, + "file": "../include/sls/ToString.h", + "line": 389, + "col": 17, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13354, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13399, + "col": 46, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bc2a00", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIiEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "int (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "int" + }, + "inner": [ + { + "id": "0x558a5015abf0", + "kind": "BuiltinType", + "type": { + "qualType": "int" + } + } + ] + }, + { + "id": "0x558a51bc26a0", + "kind": "ParmVarDecl", + "loc": { + "offset": 13398, + "col": 45, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13379, + "col": 26, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13398, + "col": 45, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +} +{ + "id": "0x558a51bc2c90", + "kind": "FunctionDecl", + "loc": { + "offset": 13419, + "file": "../include/sls/ToString.h", + "line": 390, + "col": 18, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13402, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13448, + "col": 47, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bc2ed0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIbEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "bool (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "bool" + }, + "inner": [ + { + "id": "0x558a5015ab70", + "kind": "BuiltinType", + "type": { + "qualType": "bool" + } + } + ] + }, + { + "id": "0x558a51bc2bc0", + "kind": "ParmVarDecl", + "loc": { + "offset": 13447, + "col": 46, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13428, + "col": 27, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13447, + "col": 46, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +} +{ + "id": "0x558a51bc3260", + "kind": "FunctionDecl", + "loc": { + "offset": 13456, + "file": "../include/sls/ToString.h", + "line": 391, + "col": 6, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13451, + "col": 1, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13510, + "col": 60, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isUsed": true, + "name": "StringTo", + "mangledName": "_ZN3sls8StringToERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN15slsDetectorDefs10boolFormatE", + "type": { + "qualType": "bool (const std::string &, defs::boolFormat)" + }, + "inner": [ + { + "id": "0x558a51bc3078", + "kind": "ParmVarDecl", + "loc": { + "offset": 13484, + "col": 34, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13465, + "col": 15, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13484, + "col": 34, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51bc3140", + "kind": "ParmVarDecl", + "loc": { + "offset": 13504, + "col": 54, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13487, + "col": 37, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13504, + "col": 54, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "format", + "type": { + "desugaredQualType": "slsDetectorDefs::boolFormat", + "qualType": "defs::boolFormat" + } + } + ] +} +{ + "id": "0x558a51bc34a0", + "kind": "FunctionDecl", + "loc": { + "offset": 13533, + "file": "../include/sls/ToString.h", + "line": 392, + "col": 21, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13513, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13562, + "col": 50, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bc36e0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIlEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "int64_t (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "long" + }, + "inner": [ + { + "id": "0x558a5015ac10", + "kind": "BuiltinType", + "type": { + "qualType": "long" + } + } + ] + }, + { + "id": "0x558a51bc3398", + "kind": "ParmVarDecl", + "loc": { + "offset": 13561, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13542, + "col": 30, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13561, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +} +{ + "id": "0x558a51bc4698", + "kind": "FunctionTemplateDecl", + "loc": { + "offset": 13799, + "file": "../include/sls/ToString.h", + "line": 402, + "col": 16, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13762, + "line": 401, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 14009, + "line": 408, + "col": 1, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "StringTo", + "inner": [ + { + "id": "0x558a51bc4020", + "kind": "TemplateTypeParmDecl", + "loc": { + "offset": 13781, + "line": 401, + "col": 20, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13772, + "col": 11, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13781, + "col": 20, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "T", + "tagUsed": "typename", + "depth": 0, + "index": 0 + }, + { + "id": "0x558a51bc45f0", + "kind": "FunctionDecl", + "loc": { + "offset": 13799, + "line": 402, + "col": 16, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13784, + "col": 1, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 14009, + "line": 408, + "col": 1, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "StringTo", + "type": { + "qualType": "std::vector (const std::vector &)" + }, + "inner": [ + { + "id": "0x558a51bc44c8", + "kind": "ParmVarDecl", + "loc": { + "offset": 13840, + "line": 402, + "col": 57, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13808, + "col": 25, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13840, + "col": 57, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "strings", + "type": { + "qualType": "const std::vector &" + } + }, + { + "id": "0x558a51bfdaa0", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 13849, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 14009, + "line": 408, + "col": 1, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bc4990", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 13855, + "line": 403, + "col": 5, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13876, + "col": 26, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bc4928", + "kind": "VarDecl", + "loc": { + "offset": 13870, + "col": 20, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13855, + "col": 5, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13870, + "col": 20, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "result", + "type": { + "desugaredQualType": "vector", + "qualType": "std::vector" + }, + "nrvo": true + } + ] + }, + { + "id": "0x558a51bee930", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 13882, + "line": 404, + "col": 5, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13911, + "col": 34, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bc49c8", + "kind": "CXXDependentScopeMemberExpr", + "range": { + "begin": { + "offset": 13882, + "col": 5, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13889, + "col": 12, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "lvalue", + "isArrow": false, + "member": "reserve", + "inner": [ + { + "id": "0x558a51bc49a8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 13882, + "col": 5, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13882, + "col": 5, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "vector", + "qualType": "std::vector" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bc4928", + "kind": "VarDecl", + "name": "result", + "type": { + "desugaredQualType": "vector", + "qualType": "std::vector" + } + } + } + ] + }, + { + "id": "0x558a51bee408", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 13897, + "col": 20, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13910, + "col": 33, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a5135d888" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bee3d8", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 13897, + "col": 20, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13905, + "col": 28, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "size", + "isArrow": false, + "referencedMemberDecl": "0x558a51be2de0", + "inner": [ + { + "id": "0x558a51bc4a10", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 13897, + "col": 20, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13897, + "col": 20, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const std::vector>", + "qualType": "const std::vector" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bc44c8", + "kind": "ParmVarDecl", + "name": "strings", + "type": { + "qualType": "const std::vector &" + } + } + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bfd868", + "kind": "CXXForRangeStmt", + "range": { + "begin": { + "offset": 13918, + "line": 405, + "col": 5, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13987, + "line": 406, + "col": 40, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + {}, + { + "id": "0x558a51beec68", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 13939, + "line": 405, + "col": 26, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13939, + "col": 26, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51beea70", + "kind": "VarDecl", + "loc": { + "offset": 13939, + "col": 26, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13939, + "col": 26, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13939, + "col": 26, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isImplicit": true, + "isReferenced": true, + "name": "__range2", + "type": { + "qualType": "const std::vector &" + }, + "init": "c", + "inner": [ + { + "id": "0x558a51bee958", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 13939, + "col": 26, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13939, + "col": 26, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const std::vector>", + "qualType": "const std::vector" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bc44c8", + "kind": "ParmVarDecl", + "name": "strings", + "type": { + "qualType": "const std::vector &" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51bfa520", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51beecd8", + "kind": "VarDecl", + "loc": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isImplicit": true, + "isReferenced": true, + "name": "__begin2", + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator *, std::vector>>", + "qualType": "const_iterator", + "typeAliasDeclId": "0x558a51bdb698" + }, + "init": "c", + "inner": [ + { + "id": "0x558a51beee50", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator *, std::vector>>", + "qualType": "const_iterator", + "typeAliasDeclId": "0x558a51bdb698" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51beee20", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "begin", + "isArrow": false, + "referencedMemberDecl": "0x558a51be1e88", + "inner": [ + { + "id": "0x558a51beec80", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const std::vector>", + "qualType": "const std::vector" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51beea70", + "kind": "VarDecl", + "name": "__range2", + "type": { + "qualType": "const std::vector &" + } + } + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bfa538", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51beed58", + "kind": "VarDecl", + "loc": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isImplicit": true, + "isReferenced": true, + "name": "__end2", + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator *, std::vector>>", + "qualType": "const_iterator", + "typeAliasDeclId": "0x558a51bdb698" + }, + "init": "c", + "inner": [ + { + "id": "0x558a51bfa440", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator *, std::vector>>", + "qualType": "const_iterator", + "typeAliasDeclId": "0x558a51bdb698" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bfa410", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "end", + "isArrow": false, + "referencedMemberDecl": "0x558a51be2118", + "inner": [ + { + "id": "0x558a51beeca0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const std::vector>", + "qualType": "const std::vector" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51beea70", + "kind": "VarDecl", + "name": "__range2", + "type": { + "qualType": "const std::vector &" + } + } + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bfd338", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51bfd320", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool (*)(const __normal_iterator, allocator> *, vector, allocator>, allocator, allocator>>>> &, const __normal_iterator, allocator> *, vector, allocator>, allocator, allocator>>>> &) noexcept" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51bfcf70", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool (const __normal_iterator, allocator> *, vector, allocator>, allocator, allocator>>>> &, const __normal_iterator, allocator> *, vector, allocator>, allocator, allocator>>>> &) noexcept" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bfb108", + "kind": "FunctionDecl", + "name": "operator!=", + "type": { + "qualType": "bool (const __normal_iterator, allocator> *, vector, allocator>, allocator, allocator>>>> &, const __normal_iterator, allocator> *, vector, allocator>, allocator, allocator>>>> &) noexcept" + } + } + } + ] + }, + { + "id": "0x558a51bfcf40", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const __gnu_cxx::__normal_iterator *, std::vector>>", + "qualType": "const __normal_iterator, allocator> *, vector, allocator>, allocator, allocator>>>>" + }, + "valueCategory": "lvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51bfa550", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator *, std::vector>>", + "qualType": "const_iterator", + "typeAliasDeclId": "0x558a51bdb698" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51beecd8", + "kind": "VarDecl", + "name": "__begin2", + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator *, std::vector>>", + "qualType": "const_iterator", + "typeAliasDeclId": "0x558a51bdb698" + } + } + } + ] + }, + { + "id": "0x558a51bfcf58", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const __gnu_cxx::__normal_iterator *, std::vector>>", + "qualType": "const __normal_iterator, allocator> *, vector, allocator>, allocator, allocator>>>>" + }, + "valueCategory": "lvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51bfa570", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator *, std::vector>>", + "qualType": "const_iterator", + "typeAliasDeclId": "0x558a51bdb698" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51beed58", + "kind": "VarDecl", + "name": "__end2", + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator *, std::vector>>", + "qualType": "const_iterator", + "typeAliasDeclId": "0x558a51bdb698" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51bfd4d8", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator *, std::vector>>", + "qualType": "__normal_iterator *, vector>>" + }, + "valueCategory": "lvalue", + "inner": [ + { + "id": "0x558a51bfd4c0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "__normal_iterator *, vector>> &(*)() noexcept" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51bfd390", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "__normal_iterator *, vector>> &() noexcept" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bf8e60", + "kind": "CXXMethodDecl", + "name": "operator++", + "type": { + "qualType": "__normal_iterator *, vector>> &() noexcept" + } + } + } + ] + }, + { + "id": "0x558a51bfd370", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator *, std::vector>>", + "qualType": "const_iterator", + "typeAliasDeclId": "0x558a51bdb698" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51beecd8", + "kind": "VarDecl", + "name": "__begin2", + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator *, std::vector>>", + "qualType": "const_iterator", + "typeAliasDeclId": "0x558a51bdb698" + } + } + } + ] + }, + { + "id": "0x558a51beea38", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 13923, + "col": 10, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13946, + "col": 33, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bee9d0", + "kind": "VarDecl", + "loc": { + "offset": 13935, + "col": 22, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13923, + "col": 10, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "s", + "type": { + "qualType": "std::basic_string const &" + }, + "init": "c", + "inner": [ + { + "id": "0x558a51bfd6a8", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const std::basic_string" + }, + "valueCategory": "lvalue", + "inner": [ + { + "id": "0x558a51bfd690", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "reference (*)() const noexcept" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51bfd578", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "reference () const noexcept" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bf89f8", + "kind": "CXXMethodDecl", + "name": "operator*", + "type": { + "qualType": "reference () const noexcept" + } + } + } + ] + }, + { + "id": "0x558a51bfd560", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const __gnu_cxx::__normal_iterator *, std::vector>>" + }, + "valueCategory": "lvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51bfd540", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator *, std::vector>>", + "qualType": "const_iterator", + "typeAliasDeclId": "0x558a51bdb698" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51beecd8", + "kind": "VarDecl", + "name": "__begin2", + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator *, std::vector>>", + "qualType": "const_iterator", + "typeAliasDeclId": "0x558a51bdb698" + } + } + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bfda40", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 13956, + "line": 406, + "col": 9, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13987, + "col": 40, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bfd8e8", + "kind": "CXXDependentScopeMemberExpr", + "range": { + "begin": { + "offset": 13956, + "col": 9, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13963, + "col": 16, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "lvalue", + "isArrow": false, + "member": "push_back", + "inner": [ + { + "id": "0x558a51bfd8c8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 13956, + "col": 9, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13956, + "col": 9, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "vector", + "qualType": "std::vector" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bc4928", + "kind": "VarDecl", + "name": "result", + "type": { + "desugaredQualType": "vector", + "qualType": "std::vector" + } + } + } + ] + }, + { + "id": "0x558a51bfda18", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 13973, + "col": 26, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13986, + "col": 39, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bfd968", + "kind": "UnresolvedLookupExpr", + "range": { + "begin": { + "offset": 13973, + "col": 26, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13983, + "col": 36, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "lvalue", + "usesADL": true, + "name": "StringTo", + "lookups": [ + { + "id": "0x558a51bc4698", + "kind": "FunctionTemplateDecl", + "name": "StringTo" + }, + { + "id": "0x558a51b80fb8", + "kind": "FunctionTemplateDecl", + "name": "StringTo" + }, + { + "id": "0x558a51bb89b8", + "kind": "FunctionTemplateDecl", + "name": "StringTo" + }, + { + "id": "0x558a51bb67e8", + "kind": "FunctionTemplateDecl", + "name": "StringTo" + } + ], + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "T" + }, + "inner": [ + { + "id": "0x558a51bc4070", + "kind": "TemplateTypeParmType", + "type": { + "qualType": "T" + }, + "isDependent": true, + "isInstantiationDependent": true, + "depth": 0, + "index": 0, + "decl": { + "id": "0x558a51bc4020", + "kind": "TemplateTypeParmDecl", + "name": "T" + } + } + ] + } + ] + }, + { + "id": "0x558a51bfd9f8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 13985, + "col": 38, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13985, + "col": 38, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "std::basic_string const" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bee9d0", + "kind": "VarDecl", + "name": "s", + "type": { + "qualType": "std::basic_string const &" + } + } + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bfda88", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 13994, + "line": 407, + "col": 5, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 14001, + "col": 12, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bfda68", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 14001, + "col": 12, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 14001, + "col": 12, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "vector", + "qualType": "std::vector" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bc4928", + "kind": "VarDecl", + "name": "result", + "type": { + "desugaredQualType": "vector", + "qualType": "std::vector" + } + } + } + ] + } + ] + } + ] + } + ] +} +{ + "id": "0x558a51f0e4c0", + "kind": "FunctionDecl", + "loc": { + "offset": 23590, + "file": "ToString.cpp", + "line": 774, + "col": 32, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 23559, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 24209, + "line": 794, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bb9aa0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs12detectorTypeEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::detectorType (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::detectorType" + }, + "inner": [ + { + "id": "0x558a5144b720", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::detectorType" + }, + "decl": { + "id": "0x558a5144b680", + "kind": "EnumDecl", + "name": "detectorType" + } + } + ] + }, + { + "id": "0x558a51f0e3e0", + "kind": "ParmVarDecl", + "loc": { + "offset": 23618, + "line": 774, + "col": 60, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 23599, + "col": 41, + "tokLen": 5 + }, + "end": { + "offset": 23618, + "col": 60, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51f1a2b0", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 23621, + "col": 63, + "tokLen": 1 + }, + "end": { + "offset": 24209, + "line": 794, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51f0fab0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 23627, + "line": 775, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 23666, + "line": 776, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f0fa00", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 23631, + "line": 775, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 23636, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f0f9e8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 23633, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 23633, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f0f9c8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23633, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 23633, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f0e6a8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23631, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 23631, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f0e3e0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f0f9b0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 23636, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 23636, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f0e6c8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 23636, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 23636, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"Eiger\"" + } + ] + } + ] + }, + { + "id": "0x558a51f0faa0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 23653, + "line": 776, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 23666, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f0fa70", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23660, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 23666, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorType" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5144b798", + "kind": "EnumConstantDecl", + "name": "EIGER", + "type": { + "qualType": "slsDetectorDefs::detectorType" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f10ee0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 23677, + "line": 777, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 23719, + "line": 778, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f10e30", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 23681, + "line": 777, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 23686, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f10e18", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 23683, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 23683, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f10df8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23683, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 23683, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f0fad0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23681, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 23681, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f0e3e0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f10de0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 23686, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 23686, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f0faf0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 23686, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 23686, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"Gotthard\"" + } + ] + } + ] + }, + { + "id": "0x558a51f10ed0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 23706, + "line": 778, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 23719, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f10ea0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23713, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 23719, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorType" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5144b818", + "kind": "EnumConstantDecl", + "name": "GOTTHARD", + "type": { + "qualType": "slsDetectorDefs::detectorType" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f12310", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 23733, + "line": 779, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 23775, + "line": 780, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f12260", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 23737, + "line": 779, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 23742, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f12248", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 23739, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 23739, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f12228", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23739, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 23739, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f10f00", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23737, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 23737, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f0e3e0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f12210", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 23742, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 23742, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f10f20", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 23742, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 23742, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"Jungfrau\"" + } + ] + } + ] + }, + { + "id": "0x558a51f12300", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 23762, + "line": 780, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 23775, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f122d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23769, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 23775, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorType" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5144b870", + "kind": "EnumConstantDecl", + "name": "JUNGFRAU", + "type": { + "qualType": "slsDetectorDefs::detectorType" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f13740", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 23789, + "line": 781, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 23836, + "line": 782, + "col": 22, + "tokLen": 13 + } + }, + "inner": [ + { + "id": "0x558a51f13690", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 23793, + "line": 781, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 23798, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f13678", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 23795, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 23795, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f13658", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23795, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 23795, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f12330", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23793, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 23793, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f0e3e0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f13640", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 23798, + "col": 14, + "tokLen": 15 + }, + "end": { + "offset": 23798, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f12350", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 23798, + "col": 14, + "tokLen": 15 + }, + "end": { + "offset": 23798, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "const char[14]" + }, + "valueCategory": "lvalue", + "value": "\"ChipTestBoard\"" + } + ] + } + ] + }, + { + "id": "0x558a51f13730", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 23823, + "line": 782, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 23836, + "col": 22, + "tokLen": 13 + } + }, + "inner": [ + { + "id": "0x558a51f13700", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23830, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 23836, + "col": 22, + "tokLen": 13 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorType" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5144b8c8", + "kind": "EnumConstantDecl", + "name": "CHIPTESTBOARD", + "type": { + "qualType": "slsDetectorDefs::detectorType" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f14b70", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 23855, + "line": 783, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 23895, + "line": 784, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f14ac0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 23859, + "line": 783, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 23864, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f14aa8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 23861, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 23861, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f14a88", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23861, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 23861, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f13760", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23859, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 23859, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f0e3e0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f14a70", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 23864, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 23864, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f13780", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 23864, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 23864, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"Moench\"" + } + ] + } + ] + }, + { + "id": "0x558a51f14b60", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 23882, + "line": 784, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 23895, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f14b30", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23889, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 23895, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorType" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5144b920", + "kind": "EnumConstantDecl", + "name": "MOENCH", + "type": { + "qualType": "slsDetectorDefs::detectorType" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f15fa0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 23907, + "line": 785, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 23948, + "line": 786, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51f15ef0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 23911, + "line": 785, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 23916, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f15ed8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 23913, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 23913, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f15eb8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23913, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 23913, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f14b90", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23911, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 23911, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f0e3e0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f15ea0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 23916, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 23916, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f14bb0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 23916, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 23916, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char[8]" + }, + "valueCategory": "lvalue", + "value": "\"Mythen3\"" + } + ] + } + ] + }, + { + "id": "0x558a51f15f90", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 23935, + "line": 786, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 23948, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51f15f60", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23942, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 23948, + "col": 22, + "tokLen": 7 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorType" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5144b978", + "kind": "EnumConstantDecl", + "name": "MYTHEN3", + "type": { + "qualType": "slsDetectorDefs::detectorType" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f173d0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 23961, + "line": 787, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 24004, + "line": 788, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51f17320", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 23965, + "line": 787, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 23970, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f17308", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 23967, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 23967, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f172e8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23967, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 23967, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f15fc0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23965, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 23965, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f0e3e0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f172d0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 23970, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 23970, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f15fe0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 23970, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 23970, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"Gotthard2\"" + } + ] + } + ] + }, + { + "id": "0x558a51f173c0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 23991, + "line": 788, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 24004, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51f17390", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23998, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 24004, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorType" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5144b9d0", + "kind": "EnumConstantDecl", + "name": "GOTTHARD2", + "type": { + "qualType": "slsDetectorDefs::detectorType" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f18840", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 24019, + "line": 789, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 24073, + "line": 790, + "col": 22, + "tokLen": 20 + } + }, + "inner": [ + { + "id": "0x558a51f18790", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 24023, + "line": 789, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24028, + "col": 14, + "tokLen": 22 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f18778", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24025, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24025, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f18758", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24025, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24025, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f173f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24023, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24023, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f0e3e0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f18740", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24028, + "col": 14, + "tokLen": 22 + }, + "end": { + "offset": 24028, + "col": 14, + "tokLen": 22 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f17410", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 24028, + "col": 14, + "tokLen": 22 + }, + "end": { + "offset": 24028, + "col": 14, + "tokLen": 22 + } + }, + "type": { + "qualType": "const char[21]" + }, + "valueCategory": "lvalue", + "value": "\"Xilinx_ChipTestBoard\"" + } + ] + } + ] + }, + { + "id": "0x558a51f18830", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 24060, + "line": 790, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 24073, + "col": 22, + "tokLen": 20 + } + }, + "inner": [ + { + "id": "0x558a51f18800", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24067, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 24073, + "col": 22, + "tokLen": 20 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorType" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5144ba28", + "kind": "EnumConstantDecl", + "name": "XILINX_CHIPTESTBOARD", + "type": { + "qualType": "slsDetectorDefs::detectorType" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f19c70", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 24099, + "line": 791, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 24143, + "line": 792, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f19bc0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 24103, + "line": 791, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24108, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f19ba8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24105, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24105, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f19b88", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24105, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24105, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f18860", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24103, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24103, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f0e3e0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f19b70", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24108, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 24108, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f18880", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 24108, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 24108, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char[11]" + }, + "valueCategory": "lvalue", + "value": "\"Matterhorn\"" + } + ] + } + ] + }, + { + "id": "0x558a51f19c60", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 24130, + "line": 792, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 24143, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f19c30", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24137, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 24143, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorType" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5144bab0", + "kind": "EnumConstantDecl", + "name": "MATTERHORN", + "type": { + "qualType": "slsDetectorDefs::detectorType" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f1a298", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 24159, + "line": 793, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 24206, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51f1a280", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 24159, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 24206, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51f1a258", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 24165, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 24206, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a51f1a238", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 24165, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 24206, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51f1a230", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51f1a200", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 24165, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 24206, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51f1a1e8", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 24178, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 24205, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a51f1a1d0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24178, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 24205, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51f1a1b0", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 24178, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 24205, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a51f1a1a8", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51f1a170", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 24178, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 24205, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f1a158", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24203, + "col": 49, + "tokLen": 1 + }, + "end": { + "offset": 24203, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f1a138", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24203, + "col": 49, + "tokLen": 1 + }, + "end": { + "offset": 24203, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a51f1a120", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24178, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 24178, + "col": 24, + "tokLen": 24 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f19ca0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 24178, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 24178, + "col": 24, + "tokLen": 24 + } + }, + "type": { + "qualType": "const char[23]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown detector type \"" + } + ] + }, + { + "id": "0x558a51f19cd0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24205, + "col": 51, + "tokLen": 1 + }, + "end": { + "offset": 24205, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f0e3e0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} +{ + "id": "0x558a51f1a4a0", + "kind": "FunctionDecl", + "loc": { + "offset": 24247, + "file": "ToString.cpp", + "line": 796, + "col": 36, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 24212, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 25496, + "line": 838, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bba030", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs16detectorSettingsEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::detectorSettings (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "inner": [ + { + "id": "0x558a5152da90", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "decl": { + "id": "0x558a5152d9e8", + "kind": "EnumDecl", + "name": "detectorSettings" + } + } + ] + }, + { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "loc": { + "offset": 24275, + "line": 796, + "col": 64, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 24256, + "col": 45, + "tokLen": 5 + }, + "end": { + "offset": 24275, + "col": 64, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51f34088", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 24278, + "col": 67, + "tokLen": 1 + }, + "end": { + "offset": 25496, + "line": 838, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51f1ba90", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 24284, + "line": 797, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 24326, + "line": 798, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f1b9e0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 24288, + "line": 797, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24293, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f1b9c8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24290, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24290, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f1b9a8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24290, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24290, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f1a688", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24288, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24288, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f1b990", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24293, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 24293, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f1a6a8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 24293, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 24293, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"standard\"" + } + ] + } + ] + }, + { + "id": "0x558a51f1ba80", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 24313, + "line": 798, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 24326, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f1ba50", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24320, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 24326, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152dab0", + "kind": "EnumConstantDecl", + "name": "STANDARD", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f1cec0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 24340, + "line": 799, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 24378, + "line": 800, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51f1ce10", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 24344, + "line": 799, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24349, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f1cdf8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24346, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24346, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f1cdd8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24346, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24346, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f1bab0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24344, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24344, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f1cdc0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24349, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 24349, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f1bad0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 24349, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 24349, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char[5]" + }, + "valueCategory": "lvalue", + "value": "\"fast\"" + } + ] + } + ] + }, + { + "id": "0x558a51f1ceb0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 24365, + "line": 800, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 24378, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51f1ce80", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24372, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 24378, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152db08", + "kind": "EnumConstantDecl", + "name": "FAST", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f1e2f0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 24388, + "line": 801, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 24430, + "line": 802, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f1e240", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 24392, + "line": 801, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24397, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f1e228", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24394, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24394, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f1e208", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24394, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24394, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f1cee0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24392, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24392, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f1e1f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24397, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 24397, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f1cf00", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 24397, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 24397, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"highgain\"" + } + ] + } + ] + }, + { + "id": "0x558a51f1e2e0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 24417, + "line": 802, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 24430, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f1e2b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24424, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 24430, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152db60", + "kind": "EnumConstantDecl", + "name": "HIGHGAIN", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f1f720", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 24444, + "line": 803, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 24489, + "line": 804, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51f1f670", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 24448, + "line": 803, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24453, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f1f658", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24450, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24450, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f1f638", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24450, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24450, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f1e310", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24448, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24448, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f1f620", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24453, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 24453, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f1e330", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 24453, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 24453, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char[12]" + }, + "valueCategory": "lvalue", + "value": "\"dynamicgain\"" + } + ] + } + ] + }, + { + "id": "0x558a51f1f710", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 24476, + "line": 804, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 24489, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51f1f6e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24483, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 24489, + "col": 22, + "tokLen": 11 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152dbb8", + "kind": "EnumConstantDecl", + "name": "DYNAMICGAIN", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f20b50", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 24506, + "line": 805, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 24547, + "line": 806, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51f20aa0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 24510, + "line": 805, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24515, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f20a88", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24512, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24512, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f20a68", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24512, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24512, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f1f740", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24510, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24510, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f20a50", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24515, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 24515, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f1f760", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 24515, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 24515, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char[8]" + }, + "valueCategory": "lvalue", + "value": "\"lowgain\"" + } + ] + } + ] + }, + { + "id": "0x558a51f20b40", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 24534, + "line": 806, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 24547, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51f20b10", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24541, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 24547, + "col": 22, + "tokLen": 7 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152dc10", + "kind": "EnumConstantDecl", + "name": "LOWGAIN", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f21f80", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 24560, + "line": 807, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 24604, + "line": 808, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f21ed0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 24564, + "line": 807, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24569, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f21eb8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24566, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24566, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f21e98", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24566, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24566, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f20b70", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24564, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24564, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f21e80", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24569, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 24569, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f20b90", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 24569, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 24569, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char[11]" + }, + "valueCategory": "lvalue", + "value": "\"mediumgain\"" + } + ] + } + ] + }, + { + "id": "0x558a51f21f70", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 24591, + "line": 808, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 24604, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f21f40", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24598, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 24604, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152dc68", + "kind": "EnumConstantDecl", + "name": "MEDIUMGAIN", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f233b0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 24620, + "line": 809, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 24666, + "line": 810, + "col": 22, + "tokLen": 12 + } + }, + "inner": [ + { + "id": "0x558a51f23300", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 24624, + "line": 809, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24629, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f232e8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24626, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24626, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f232c8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24626, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24626, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f21fa0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24624, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24624, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f232b0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24629, + "col": 14, + "tokLen": 14 + }, + "end": { + "offset": 24629, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f21fc0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 24629, + "col": 14, + "tokLen": 14 + }, + "end": { + "offset": 24629, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "const char[13]" + }, + "valueCategory": "lvalue", + "value": "\"veryhighgain\"" + } + ] + } + ] + }, + { + "id": "0x558a51f233a0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 24653, + "line": 810, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 24666, + "col": 22, + "tokLen": 12 + } + }, + "inner": [ + { + "id": "0x558a51f23370", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24660, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 24666, + "col": 22, + "tokLen": 12 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152dcc0", + "kind": "EnumConstantDecl", + "name": "VERYHIGHGAIN", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f247e0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 24684, + "line": 811, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 24727, + "line": 812, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51f24730", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 24688, + "line": 811, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24693, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f24718", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24690, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24690, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f246f8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24690, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24690, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f233d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24688, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24688, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f246e0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24693, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 24693, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f233f0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 24693, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 24693, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"highgain0\"" + } + ] + } + ] + }, + { + "id": "0x558a51f247d0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 24714, + "line": 812, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 24727, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51f247a0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24721, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 24727, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152dd18", + "kind": "EnumConstantDecl", + "name": "HIGHGAIN0", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f25c10", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 24742, + "line": 813, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 24784, + "line": 814, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f25b60", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 24746, + "line": 813, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24751, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f25b48", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24748, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24748, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f25b28", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24748, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24748, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f24800", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24746, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24746, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f25b10", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24751, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 24751, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f24820", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 24751, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 24751, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"fixgain1\"" + } + ] + } + ] + }, + { + "id": "0x558a51f25c00", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 24771, + "line": 814, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 24784, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f25bd0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24778, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 24784, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152dd70", + "kind": "EnumConstantDecl", + "name": "FIXGAIN1", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f27070", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 24798, + "line": 815, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 24840, + "line": 816, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f26fc0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 24802, + "line": 815, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24807, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f26fa8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24804, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24804, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f26f88", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24804, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24804, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f25c30", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24802, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24802, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f26f70", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24807, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 24807, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f25c50", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 24807, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 24807, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"fixgain2\"" + } + ] + } + ] + }, + { + "id": "0x558a51f27060", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 24827, + "line": 816, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 24840, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f27030", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24834, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 24840, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152ddc8", + "kind": "EnumConstantDecl", + "name": "FIXGAIN2", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f284a0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 24854, + "line": 817, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 24899, + "line": 818, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51f283f0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 24858, + "line": 817, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24863, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f283d8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24860, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24860, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f283b8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24860, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24860, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f27090", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24858, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24858, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f283a0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24863, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 24863, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f270b0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 24863, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 24863, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char[12]" + }, + "valueCategory": "lvalue", + "value": "\"verylowgain\"" + } + ] + } + ] + }, + { + "id": "0x558a51f28490", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 24886, + "line": 818, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 24899, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51f28460", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24893, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 24899, + "col": 22, + "tokLen": 11 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152de20", + "kind": "EnumConstantDecl", + "name": "VERYLOWGAIN", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f298d0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 24916, + "line": 819, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 24955, + "line": 820, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51f29820", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 24920, + "line": 819, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24925, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f29808", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24922, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24922, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f297e8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24922, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24922, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f284c0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24920, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24920, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f297d0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24925, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 24925, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f284e0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 24925, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 24925, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"g1_hg\"" + } + ] + } + ] + }, + { + "id": "0x558a51f298c0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 24942, + "line": 820, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 24955, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51f29890", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24949, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 24955, + "col": 22, + "tokLen": 11 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152de78", + "kind": "EnumConstantDecl", + "name": "G1_HIGHGAIN", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f2ad00", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 24972, + "line": 821, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 25011, + "line": 822, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f2ac50", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 24976, + "line": 821, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24981, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f2ac38", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24978, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24978, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f2ac18", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24978, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24978, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f298f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24976, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24976, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f2ac00", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24981, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 24981, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f29910", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 24981, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 24981, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"g1_lg\"" + } + ] + } + ] + }, + { + "id": "0x558a51f2acf0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 24998, + "line": 822, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 25011, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f2acc0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25005, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 25011, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152ded0", + "kind": "EnumConstantDecl", + "name": "G1_LOWGAIN", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f2c130", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 25027, + "line": 823, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 25069, + "line": 824, + "col": 22, + "tokLen": 19 + } + }, + "inner": [ + { + "id": "0x558a51f2c080", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 25031, + "line": 823, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25036, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f2c068", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25033, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25033, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f2c048", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25033, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25033, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f2ad20", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25031, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25031, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f2c030", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25036, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 25036, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f2ad40", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 25036, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 25036, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"g2_hc_hg\"" + } + ] + } + ] + }, + { + "id": "0x558a51f2c120", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 25056, + "line": 824, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 25069, + "col": 22, + "tokLen": 19 + } + }, + "inner": [ + { + "id": "0x558a51f2c0f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25063, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 25069, + "col": 22, + "tokLen": 19 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152df28", + "kind": "EnumConstantDecl", + "name": "G2_HIGHCAP_HIGHGAIN", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f2d560", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 25094, + "line": 825, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 25136, + "line": 826, + "col": 22, + "tokLen": 18 + } + }, + "inner": [ + { + "id": "0x558a51f2d4b0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 25098, + "line": 825, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25103, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f2d498", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25100, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25100, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f2d478", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25100, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25100, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f2c150", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25098, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25098, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f2d460", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25103, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 25103, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f2c170", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 25103, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 25103, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"g2_hc_lg\"" + } + ] + } + ] + }, + { + "id": "0x558a51f2d550", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 25123, + "line": 826, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 25136, + "col": 22, + "tokLen": 18 + } + }, + "inner": [ + { + "id": "0x558a51f2d520", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25130, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 25136, + "col": 22, + "tokLen": 18 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152df80", + "kind": "EnumConstantDecl", + "name": "G2_HIGHCAP_LOWGAIN", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f2e990", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 25160, + "line": 827, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 25202, + "line": 828, + "col": 22, + "tokLen": 18 + } + }, + "inner": [ + { + "id": "0x558a51f2e8e0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 25164, + "line": 827, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25169, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f2e8c8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25166, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25166, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f2e8a8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25166, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25166, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f2d580", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25164, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25164, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f2e890", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25169, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 25169, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f2d5a0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 25169, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 25169, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"g2_lc_hg\"" + } + ] + } + ] + }, + { + "id": "0x558a51f2e980", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 25189, + "line": 828, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 25202, + "col": 22, + "tokLen": 18 + } + }, + "inner": [ + { + "id": "0x558a51f2e950", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25196, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 25202, + "col": 22, + "tokLen": 18 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152dfd8", + "kind": "EnumConstantDecl", + "name": "G2_LOWCAP_HIGHGAIN", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f2fdc0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 25226, + "line": 829, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 25268, + "line": 830, + "col": 22, + "tokLen": 17 + } + }, + "inner": [ + { + "id": "0x558a51f2fd10", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 25230, + "line": 829, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25235, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f2fcf8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25232, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25232, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f2fcd8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25232, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25232, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f2e9b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25230, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25230, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f2fcc0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25235, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 25235, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f2e9d0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 25235, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 25235, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"g2_lc_lg\"" + } + ] + } + ] + }, + { + "id": "0x558a51f2fdb0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 25255, + "line": 830, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 25268, + "col": 22, + "tokLen": 17 + } + }, + "inner": [ + { + "id": "0x558a51f2fd80", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25262, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 25268, + "col": 22, + "tokLen": 17 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e030", + "kind": "EnumConstantDecl", + "name": "G2_LOWCAP_LOWGAIN", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f311f0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 25291, + "line": 831, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 25330, + "line": 832, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51f31140", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 25295, + "line": 831, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25300, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f31128", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25297, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25297, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f31108", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25297, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25297, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f2fde0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25295, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25295, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f310f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25300, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 25300, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f2fe00", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 25300, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 25300, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"g4_hg\"" + } + ] + } + ] + }, + { + "id": "0x558a51f311e0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 25317, + "line": 832, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 25330, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51f311b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25324, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 25330, + "col": 22, + "tokLen": 11 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e088", + "kind": "EnumConstantDecl", + "name": "G4_HIGHGAIN", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f32620", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 25347, + "line": 833, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 25386, + "line": 834, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f32570", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 25351, + "line": 833, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25356, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f32558", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25353, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25353, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f32538", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25353, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25353, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f31210", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25351, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25351, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f32520", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25356, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 25356, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f31230", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 25356, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 25356, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"gain0\"" + } + ] + } + ] + }, + { + "id": "0x558a51f32610", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 25373, + "line": 834, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 25386, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f325e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25380, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 25386, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e138", + "kind": "EnumConstantDecl", + "name": "GAIN0", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f33a50", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 25397, + "line": 835, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 25436, + "line": 836, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f339a0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 25401, + "line": 835, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25406, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f33988", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25403, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25403, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f33968", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25403, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25403, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f32640", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25401, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25401, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f33950", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25406, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 25406, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f32660", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 25406, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 25406, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"g4_lg\"" + } + ] + } + ] + }, + { + "id": "0x558a51f33a40", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 25423, + "line": 836, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 25436, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f33a10", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25430, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 25436, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e0e0", + "kind": "EnumConstantDecl", + "name": "G4_LOWGAIN", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f34070", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 25452, + "line": 837, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 25493, + "col": 46, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51f34058", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 25452, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 25493, + "col": 46, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51f34030", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 25458, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 25493, + "col": 46, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a51f34010", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 25458, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 25493, + "col": 46, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51f34008", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51f33fd8", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 25458, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 25493, + "col": 46, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51f33fc0", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 25471, + "col": 24, + "tokLen": 18 + }, + "end": { + "offset": 25492, + "col": 45, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a51f33fa8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25471, + "col": 24, + "tokLen": 18 + }, + "end": { + "offset": 25492, + "col": 45, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51f33f88", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 25471, + "col": 24, + "tokLen": 18 + }, + "end": { + "offset": 25492, + "col": 45, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a51f33f80", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51f33f48", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 25471, + "col": 24, + "tokLen": 18 + }, + "end": { + "offset": 25492, + "col": 45, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f33f30", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25490, + "col": 43, + "tokLen": 1 + }, + "end": { + "offset": 25490, + "col": 43, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f33f10", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25490, + "col": 43, + "tokLen": 1 + }, + "end": { + "offset": 25490, + "col": 43, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a51f33ef8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25471, + "col": 24, + "tokLen": 18 + }, + "end": { + "offset": 25471, + "col": 24, + "tokLen": 18 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f33a80", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 25471, + "col": 24, + "tokLen": 18 + }, + "end": { + "offset": 25471, + "col": 24, + "tokLen": 18 + } + }, + "type": { + "qualType": "const char[17]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown setting \"" + } + ] + }, + { + "id": "0x558a51f33aa8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25492, + "col": 45, + "tokLen": 1 + }, + "end": { + "offset": 25492, + "col": 45, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} +{ + "id": "0x558a51f342d0", + "kind": "FunctionDecl", + "loc": { + "offset": 25528, + "file": "ToString.cpp", + "line": 840, + "col": 30, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 25499, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 26053, + "line": 858, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bba5c0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs10speedLevelEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::speedLevel (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::speedLevel" + }, + "inner": [ + { + "id": "0x558a5152e840", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::speedLevel" + }, + "decl": { + "id": "0x558a5152e798", + "kind": "EnumDecl", + "name": "speedLevel" + } + } + ] + }, + { + "id": "0x558a51f341f0", + "kind": "ParmVarDecl", + "loc": { + "offset": 25556, + "line": 840, + "col": 58, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 25537, + "col": 39, + "tokLen": 5 + }, + "end": { + "offset": 25556, + "col": 58, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51f3ec58", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 25559, + "col": 61, + "tokLen": 1 + }, + "end": { + "offset": 26053, + "line": 858, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51f358d0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 25565, + "line": 841, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 25609, + "line": 842, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f35820", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 25569, + "line": 841, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25574, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f35808", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25571, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25571, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f357e8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25571, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25571, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f344b8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25569, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25569, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f341f0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f357d0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25574, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 25574, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f344d8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 25574, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 25574, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char[11]" + }, + "valueCategory": "lvalue", + "value": "\"full_speed\"" + } + ] + } + ] + }, + { + "id": "0x558a51f358c0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 25596, + "line": 842, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 25609, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f35890", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25603, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 25609, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::speedLevel" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e860", + "kind": "EnumConstantDecl", + "name": "FULL_SPEED", + "type": { + "qualType": "slsDetectorDefs::speedLevel" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f36d00", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 25625, + "line": 843, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 25660, + "line": 844, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f36c50", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 25629, + "line": 843, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25634, + "col": 14, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f36c38", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25631, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25631, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f36c18", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25631, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25631, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f358f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25629, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25629, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f341f0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f36c00", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25634, + "col": 14, + "tokLen": 3 + }, + "end": { + "offset": 25634, + "col": 14, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f35910", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 25634, + "col": 14, + "tokLen": 3 + }, + "end": { + "offset": 25634, + "col": 14, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char[2]" + }, + "valueCategory": "lvalue", + "value": "\"0\"" + } + ] + } + ] + }, + { + "id": "0x558a51f36cf0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 25647, + "line": 844, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 25660, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f36cc0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25654, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 25660, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::speedLevel" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e860", + "kind": "EnumConstantDecl", + "name": "FULL_SPEED", + "type": { + "qualType": "slsDetectorDefs::speedLevel" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f38130", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 25676, + "line": 845, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 25720, + "line": 846, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f38080", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 25680, + "line": 845, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25685, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f38068", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25682, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25682, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f38048", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25682, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25682, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f36d20", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25680, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25680, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f341f0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f38030", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25685, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 25685, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f36d40", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 25685, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 25685, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char[11]" + }, + "valueCategory": "lvalue", + "value": "\"half_speed\"" + } + ] + } + ] + }, + { + "id": "0x558a51f38120", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 25707, + "line": 846, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 25720, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f380f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25714, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 25720, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::speedLevel" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e8b8", + "kind": "EnumConstantDecl", + "name": "HALF_SPEED", + "type": { + "qualType": "slsDetectorDefs::speedLevel" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f39560", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 25736, + "line": 847, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 25771, + "line": 848, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f394b0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 25740, + "line": 847, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25745, + "col": 14, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f39498", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25742, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25742, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f39478", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25742, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25742, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f38150", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25740, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25740, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f341f0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f39460", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25745, + "col": 14, + "tokLen": 3 + }, + "end": { + "offset": 25745, + "col": 14, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f38170", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 25745, + "col": 14, + "tokLen": 3 + }, + "end": { + "offset": 25745, + "col": 14, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char[2]" + }, + "valueCategory": "lvalue", + "value": "\"1\"" + } + ] + } + ] + }, + { + "id": "0x558a51f39550", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 25758, + "line": 848, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 25771, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f39520", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25765, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 25771, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::speedLevel" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e8b8", + "kind": "EnumConstantDecl", + "name": "HALF_SPEED", + "type": { + "qualType": "slsDetectorDefs::speedLevel" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f3a990", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 25787, + "line": 849, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 25834, + "line": 850, + "col": 22, + "tokLen": 13 + } + }, + "inner": [ + { + "id": "0x558a51f3a8e0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 25791, + "line": 849, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25796, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f3a8c8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25793, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25793, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f3a8a8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25793, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25793, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f39580", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25791, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25791, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f341f0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f3a890", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25796, + "col": 14, + "tokLen": 15 + }, + "end": { + "offset": 25796, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f395a0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 25796, + "col": 14, + "tokLen": 15 + }, + "end": { + "offset": 25796, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "const char[14]" + }, + "valueCategory": "lvalue", + "value": "\"quarter_speed\"" + } + ] + } + ] + }, + { + "id": "0x558a51f3a980", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 25821, + "line": 850, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 25834, + "col": 22, + "tokLen": 13 + } + }, + "inner": [ + { + "id": "0x558a51f3a950", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25828, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 25834, + "col": 22, + "tokLen": 13 + } + }, + "type": { + "qualType": "slsDetectorDefs::speedLevel" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e910", + "kind": "EnumConstantDecl", + "name": "QUARTER_SPEED", + "type": { + "qualType": "slsDetectorDefs::speedLevel" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f3bdc0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 25853, + "line": 851, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 25888, + "line": 852, + "col": 22, + "tokLen": 13 + } + }, + "inner": [ + { + "id": "0x558a51f3bd10", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 25857, + "line": 851, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25862, + "col": 14, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f3bcf8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25859, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25859, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f3bcd8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25859, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25859, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f3a9b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25857, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25857, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f341f0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f3bcc0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25862, + "col": 14, + "tokLen": 3 + }, + "end": { + "offset": 25862, + "col": 14, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f3a9d0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 25862, + "col": 14, + "tokLen": 3 + }, + "end": { + "offset": 25862, + "col": 14, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char[2]" + }, + "valueCategory": "lvalue", + "value": "\"2\"" + } + ] + } + ] + }, + { + "id": "0x558a51f3bdb0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 25875, + "line": 852, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 25888, + "col": 22, + "tokLen": 13 + } + }, + "inner": [ + { + "id": "0x558a51f3bd80", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25882, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 25888, + "col": 22, + "tokLen": 13 + } + }, + "type": { + "qualType": "slsDetectorDefs::speedLevel" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e910", + "kind": "EnumConstantDecl", + "name": "QUARTER_SPEED", + "type": { + "qualType": "slsDetectorDefs::speedLevel" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f3d1f0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 25907, + "line": 853, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 25944, + "line": 854, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51f3d140", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 25911, + "line": 853, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25916, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f3d128", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25913, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25913, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f3d108", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25913, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25913, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f3bde0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25911, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25911, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f341f0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f3d0f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25916, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 25916, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f3be00", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 25916, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 25916, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char[4]" + }, + "valueCategory": "lvalue", + "value": "\"108\"" + } + ] + } + ] + }, + { + "id": "0x558a51f3d1e0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 25931, + "line": 854, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 25944, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51f3d1b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25938, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 25944, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::speedLevel" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e968", + "kind": "EnumConstantDecl", + "name": "G2_108MHZ", + "type": { + "qualType": "slsDetectorDefs::speedLevel" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f3e620", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 25959, + "line": 855, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 25996, + "line": 856, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51f3e570", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 25963, + "line": 855, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25968, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f3e558", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25965, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25965, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f3e538", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25965, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25965, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f3d210", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25963, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25963, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f341f0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f3e520", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25968, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 25968, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f3d230", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 25968, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 25968, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char[4]" + }, + "valueCategory": "lvalue", + "value": "\"144\"" + } + ] + } + ] + }, + { + "id": "0x558a51f3e610", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 25983, + "line": 856, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 25996, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51f3e5e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25990, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 25996, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::speedLevel" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e9c0", + "kind": "EnumConstantDecl", + "name": "G2_144MHZ", + "type": { + "qualType": "slsDetectorDefs::speedLevel" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f3ec40", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 26011, + "line": 857, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 26050, + "col": 44, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51f3ec28", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 26011, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 26050, + "col": 44, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51f3ec00", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 26017, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 26050, + "col": 44, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a51f3ebe0", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 26017, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 26050, + "col": 44, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51f3ebd8", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51f3eba8", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 26017, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 26050, + "col": 44, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51f3eb90", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 26030, + "col": 24, + "tokLen": 16 + }, + "end": { + "offset": 26049, + "col": 43, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a51f3eb78", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26030, + "col": 24, + "tokLen": 16 + }, + "end": { + "offset": 26049, + "col": 43, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51f3eb58", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 26030, + "col": 24, + "tokLen": 16 + }, + "end": { + "offset": 26049, + "col": 43, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a51f3eb50", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51f3eb18", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 26030, + "col": 24, + "tokLen": 16 + }, + "end": { + "offset": 26049, + "col": 43, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f3eb00", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26047, + "col": 41, + "tokLen": 1 + }, + "end": { + "offset": 26047, + "col": 41, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f3eae0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26047, + "col": 41, + "tokLen": 1 + }, + "end": { + "offset": 26047, + "col": 41, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a51f3eac8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26030, + "col": 24, + "tokLen": 16 + }, + "end": { + "offset": 26030, + "col": 24, + "tokLen": 16 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f3e650", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 26030, + "col": 24, + "tokLen": 16 + }, + "end": { + "offset": 26030, + "col": 24, + "tokLen": 16 + } + }, + "type": { + "qualType": "const char[15]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown speed \"" + } + ] + }, + { + "id": "0x558a51f3e678", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26049, + "col": 43, + "tokLen": 1 + }, + "end": { + "offset": 26049, + "col": 43, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f341f0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} +{ + "id": "0x558a51f3ee40", + "kind": "FunctionDecl", + "loc": { + "offset": 26085, + "file": "ToString.cpp", + "line": 860, + "col": 30, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 26056, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 26472, + "line": 872, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bbab50", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs10timingModeEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::timingMode (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::timingMode" + }, + "inner": [ + { + "id": "0x558a5152b060", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::timingMode" + }, + "decl": { + "id": "0x558a5152afb8", + "kind": "EnumDecl", + "name": "timingMode" + } + } + ] + }, + { + "id": "0x558a51f3ed60", + "kind": "ParmVarDecl", + "loc": { + "offset": 26113, + "line": 860, + "col": 58, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 26094, + "col": 39, + "tokLen": 5 + }, + "end": { + "offset": 26113, + "col": 58, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51f45b30", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 26116, + "col": 61, + "tokLen": 1 + }, + "end": { + "offset": 26472, + "line": 872, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51f40430", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 26122, + "line": 861, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 26160, + "line": 862, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51f40380", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 26126, + "line": 861, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26131, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f40368", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26128, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26128, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f40348", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26128, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26128, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f3f028", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26126, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26126, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f3ed60", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f40330", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26131, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 26131, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f3f048", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 26131, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 26131, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char[5]" + }, + "valueCategory": "lvalue", + "value": "\"auto\"" + } + ] + } + ] + }, + { + "id": "0x558a51f40420", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 26147, + "line": 862, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 26160, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51f403f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26154, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 26160, + "col": 22, + "tokLen": 11 + } + }, + "type": { + "qualType": "slsDetectorDefs::timingMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b080", + "kind": "EnumConstantDecl", + "name": "AUTO_TIMING", + "type": { + "qualType": "slsDetectorDefs::timingMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f41860", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 26177, + "line": 863, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 26218, + "line": 864, + "col": 22, + "tokLen": 16 + } + }, + "inner": [ + { + "id": "0x558a51f417b0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 26181, + "line": 863, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26186, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f41798", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26183, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26183, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f41778", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26183, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26183, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f40450", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26181, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26181, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f3ed60", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f41760", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26186, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 26186, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f40470", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 26186, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 26186, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char[8]" + }, + "valueCategory": "lvalue", + "value": "\"trigger\"" + } + ] + } + ] + }, + { + "id": "0x558a51f41850", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 26205, + "line": 864, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 26218, + "col": 22, + "tokLen": 16 + } + }, + "inner": [ + { + "id": "0x558a51f41820", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26212, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 26218, + "col": 22, + "tokLen": 16 + } + }, + "type": { + "qualType": "slsDetectorDefs::timingMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b0d8", + "kind": "EnumConstantDecl", + "name": "TRIGGER_EXPOSURE", + "type": { + "qualType": "slsDetectorDefs::timingMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f42c90", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 26240, + "line": 865, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 26280, + "line": 866, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f42be0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 26244, + "line": 865, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26249, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f42bc8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26246, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26246, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f42ba8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26246, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26246, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f41880", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26244, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26244, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f3ed60", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f42b90", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26249, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 26249, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f418a0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 26249, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 26249, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"gating\"" + } + ] + } + ] + }, + { + "id": "0x558a51f42c80", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 26267, + "line": 866, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 26280, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f42c50", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26274, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 26280, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::timingMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b130", + "kind": "EnumConstantDecl", + "name": "GATED", + "type": { + "qualType": "slsDetectorDefs::timingMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f440c0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 26291, + "line": 867, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 26338, + "line": 868, + "col": 22, + "tokLen": 13 + } + }, + "inner": [ + { + "id": "0x558a51f44010", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 26295, + "line": 867, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26300, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f43ff8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26297, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26297, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f43fd8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26297, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26297, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f42cb0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26295, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26295, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f3ed60", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f43fc0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26300, + "col": 14, + "tokLen": 15 + }, + "end": { + "offset": 26300, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f42cd0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 26300, + "col": 14, + "tokLen": 15 + }, + "end": { + "offset": 26300, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "const char[14]" + }, + "valueCategory": "lvalue", + "value": "\"burst_trigger\"" + } + ] + } + ] + }, + { + "id": "0x558a51f440b0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 26325, + "line": 868, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 26338, + "col": 22, + "tokLen": 13 + } + }, + "inner": [ + { + "id": "0x558a51f44080", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26332, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 26338, + "col": 22, + "tokLen": 13 + } + }, + "type": { + "qualType": "slsDetectorDefs::timingMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b188", + "kind": "EnumConstantDecl", + "name": "BURST_TRIGGER", + "type": { + "qualType": "slsDetectorDefs::timingMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f454f0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 26357, + "line": 869, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 26405, + "line": 870, + "col": 22, + "tokLen": 13 + } + }, + "inner": [ + { + "id": "0x558a51f45440", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 26361, + "line": 869, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26366, + "col": 14, + "tokLen": 16 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f45428", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26363, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26363, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f45408", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26363, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26363, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f440e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26361, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26361, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f3ed60", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f453f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26366, + "col": 14, + "tokLen": 16 + }, + "end": { + "offset": 26366, + "col": 14, + "tokLen": 16 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f44100", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 26366, + "col": 14, + "tokLen": 16 + }, + "end": { + "offset": 26366, + "col": 14, + "tokLen": 16 + } + }, + "type": { + "qualType": "const char[15]" + }, + "valueCategory": "lvalue", + "value": "\"trigger_gating\"" + } + ] + } + ] + }, + { + "id": "0x558a51f454e0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 26392, + "line": 870, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 26405, + "col": 22, + "tokLen": 13 + } + }, + "inner": [ + { + "id": "0x558a51f454b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26399, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 26405, + "col": 22, + "tokLen": 13 + } + }, + "type": { + "qualType": "slsDetectorDefs::timingMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b1e0", + "kind": "EnumConstantDecl", + "name": "TRIGGER_GATED", + "type": { + "qualType": "slsDetectorDefs::timingMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f45b18", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 26424, + "line": 871, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 26469, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51f45b00", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 26424, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 26469, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51f45ad8", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 26430, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 26469, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a51f45ab8", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 26430, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 26469, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51f45ab0", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51f45a80", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 26430, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 26469, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51f45a68", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 26443, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 26468, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a51f45a50", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26443, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 26468, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51f45a30", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 26443, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 26468, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a51f45a28", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51f459f0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 26443, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 26468, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f459d8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26466, + "col": 47, + "tokLen": 1 + }, + "end": { + "offset": 26466, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f459b8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26466, + "col": 47, + "tokLen": 1 + }, + "end": { + "offset": 26466, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a51f459a0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26443, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 26443, + "col": 24, + "tokLen": 22 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f45520", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 26443, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 26443, + "col": 24, + "tokLen": 22 + } + }, + "type": { + "qualType": "const char[21]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown timing mode \"" + } + ] + }, + { + "id": "0x558a51f45550", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26468, + "col": 49, + "tokLen": 1 + }, + "end": { + "offset": 26468, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f3ed60", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} +{ + "id": "0x558a51f45d00", + "kind": "FunctionDecl", + "loc": { + "offset": 26512, + "file": "ToString.cpp", + "line": 874, + "col": 38, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 26475, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 26813, + "line": 882, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bbb0e0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs18frameDiscardPolicyEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::frameDiscardPolicy (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::frameDiscardPolicy" + }, + "inner": [ + { + "id": "0x558a51529090", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::frameDiscardPolicy" + }, + "decl": { + "id": "0x558a51528fe8", + "kind": "EnumDecl", + "name": "frameDiscardPolicy" + } + } + ] + }, + { + "id": "0x558a51f45c20", + "kind": "ParmVarDecl", + "loc": { + "offset": 26540, + "line": 874, + "col": 66, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 26521, + "col": 47, + "tokLen": 5 + }, + "end": { + "offset": 26540, + "col": 66, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51f4a200", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 26543, + "col": 69, + "tokLen": 1 + }, + "end": { + "offset": 26813, + "line": 882, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51f47320", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 26549, + "line": 875, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 26592, + "line": 876, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f47270", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 26553, + "line": 875, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26558, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f47258", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26555, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26555, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f47238", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26555, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26555, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f45ee8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26553, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26553, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f45c20", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f47220", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26558, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 26558, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f45f08", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 26558, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 26558, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"nodiscard\"" + } + ] + } + ] + }, + { + "id": "0x558a51f47310", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 26579, + "line": 876, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 26592, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f472e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26586, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 26592, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::frameDiscardPolicy" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a515290b0", + "kind": "EnumConstantDecl", + "name": "NO_DISCARD", + "type": { + "qualType": "slsDetectorDefs::frameDiscardPolicy" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f48750", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 26608, + "line": 877, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 26654, + "line": 878, + "col": 22, + "tokLen": 20 + } + }, + "inner": [ + { + "id": "0x558a51f486a0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 26612, + "line": 877, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26617, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f48688", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26614, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26614, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f48668", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26614, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26614, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f47340", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26612, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26612, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f45c20", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f48650", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26617, + "col": 14, + "tokLen": 14 + }, + "end": { + "offset": 26617, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f47360", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 26617, + "col": 14, + "tokLen": 14 + }, + "end": { + "offset": 26617, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "const char[13]" + }, + "valueCategory": "lvalue", + "value": "\"discardempty\"" + } + ] + } + ] + }, + { + "id": "0x558a51f48740", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 26641, + "line": 878, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 26654, + "col": 22, + "tokLen": 20 + } + }, + "inner": [ + { + "id": "0x558a51f48710", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26648, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 26654, + "col": 22, + "tokLen": 20 + } + }, + "type": { + "qualType": "slsDetectorDefs::frameDiscardPolicy" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a51529108", + "kind": "EnumConstantDecl", + "name": "DISCARD_EMPTY_FRAMES", + "type": { + "qualType": "slsDetectorDefs::frameDiscardPolicy" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f49b80", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 26680, + "line": 879, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 26728, + "line": 880, + "col": 22, + "tokLen": 22 + } + }, + "inner": [ + { + "id": "0x558a51f49ad0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 26684, + "line": 879, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26689, + "col": 14, + "tokLen": 16 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f49ab8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26686, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26686, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f49a98", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26686, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26686, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f48770", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26684, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26684, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f45c20", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f49a80", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26689, + "col": 14, + "tokLen": 16 + }, + "end": { + "offset": 26689, + "col": 14, + "tokLen": 16 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f48790", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 26689, + "col": 14, + "tokLen": 16 + }, + "end": { + "offset": 26689, + "col": 14, + "tokLen": 16 + } + }, + "type": { + "qualType": "const char[15]" + }, + "valueCategory": "lvalue", + "value": "\"discardpartial\"" + } + ] + } + ] + }, + { + "id": "0x558a51f49b70", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 26715, + "line": 880, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 26728, + "col": 22, + "tokLen": 22 + } + }, + "inner": [ + { + "id": "0x558a51f49b40", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26722, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 26728, + "col": 22, + "tokLen": 22 + } + }, + "type": { + "qualType": "slsDetectorDefs::frameDiscardPolicy" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a51529160", + "kind": "EnumConstantDecl", + "name": "DISCARD_PARTIAL_FRAMES", + "type": { + "qualType": "slsDetectorDefs::frameDiscardPolicy" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f4a1e8", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 26756, + "line": 881, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 26810, + "col": 59, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51f4a1d0", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 26756, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 26810, + "col": 59, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51f4a1a8", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 26762, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 26810, + "col": 59, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a51f4a188", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 26762, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 26810, + "col": 59, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51f4a180", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51f4a150", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 26762, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 26810, + "col": 59, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51f4a138", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 26775, + "col": 24, + "tokLen": 31 + }, + "end": { + "offset": 26809, + "col": 58, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a51f4a120", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26775, + "col": 24, + "tokLen": 31 + }, + "end": { + "offset": 26809, + "col": 58, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51f4a100", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 26775, + "col": 24, + "tokLen": 31 + }, + "end": { + "offset": 26809, + "col": 58, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a51f4a0f8", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51f4a0c0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 26775, + "col": 24, + "tokLen": 31 + }, + "end": { + "offset": 26809, + "col": 58, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f4a0a8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26807, + "col": 56, + "tokLen": 1 + }, + "end": { + "offset": 26807, + "col": 56, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f4a088", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26807, + "col": 56, + "tokLen": 1 + }, + "end": { + "offset": 26807, + "col": 56, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a51f4a070", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26775, + "col": 24, + "tokLen": 31 + }, + "end": { + "offset": 26775, + "col": 24, + "tokLen": 31 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f49bb0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 26775, + "col": 24, + "tokLen": 31 + }, + "end": { + "offset": 26775, + "col": 24, + "tokLen": 31 + } + }, + "type": { + "qualType": "const char[30]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown frame discard policy \"" + } + ] + }, + { + "id": "0x558a51f49be8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26809, + "col": 58, + "tokLen": 1 + }, + "end": { + "offset": 26809, + "col": 58, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f45c20", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} +{ + "id": "0x558a51f4a3c0", + "kind": "FunctionDecl", + "loc": { + "offset": 26845, + "file": "ToString.cpp", + "line": 884, + "col": 30, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 26816, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 27030, + "line": 890, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bbb670", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs10fileFormatEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::fileFormat (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::fileFormat" + }, + "inner": [ + { + "id": "0x558a515292b0", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::fileFormat" + }, + "decl": { + "id": "0x558a51529210", + "kind": "EnumDecl", + "name": "fileFormat" + } + } + ] + }, + { + "id": "0x558a51f4a2e0", + "kind": "ParmVarDecl", + "loc": { + "offset": 26873, + "line": 884, + "col": 58, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 26854, + "col": 39, + "tokLen": 5 + }, + "end": { + "offset": 26873, + "col": 58, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51f4d420", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 26876, + "col": 61, + "tokLen": 1 + }, + "end": { + "offset": 27030, + "line": 890, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51f4b9b0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 26882, + "line": 885, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 26920, + "line": 886, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51f4b900", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 26886, + "line": 885, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26891, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f4b8e8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26888, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26888, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f4b8c8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26888, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26888, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f4a5a8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26886, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26886, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f4a2e0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f4b8b0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26891, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 26891, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f4a5c8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 26891, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 26891, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char[5]" + }, + "valueCategory": "lvalue", + "value": "\"hdf5\"" + } + ] + } + ] + }, + { + "id": "0x558a51f4b9a0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 26907, + "line": 886, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 26920, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51f4b970", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26914, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 26920, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "slsDetectorDefs::fileFormat" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a51529328", + "kind": "EnumConstantDecl", + "name": "HDF5", + "type": { + "qualType": "slsDetectorDefs::fileFormat" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f4cde0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 26930, + "line": 887, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 26970, + "line": 888, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f4cd30", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 26934, + "line": 887, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26939, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f4cd18", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26936, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26936, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f4ccf8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26936, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26936, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f4b9d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26934, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26934, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f4a2e0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f4cce0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26939, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 26939, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f4b9f0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 26939, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 26939, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"binary\"" + } + ] + } + ] + }, + { + "id": "0x558a51f4cdd0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 26957, + "line": 888, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 26970, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f4cda0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26964, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 26970, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::fileFormat" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a515292d0", + "kind": "EnumConstantDecl", + "name": "BINARY", + "type": { + "qualType": "slsDetectorDefs::fileFormat" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f4d408", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 26982, + "line": 889, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 27027, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51f4d3f0", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 26982, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 27027, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51f4d3c8", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 26988, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 27027, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a51f4d3a8", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 26988, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 27027, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51f4d3a0", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51f4d370", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 26988, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 27027, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51f4d358", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 27001, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 27026, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a51f4d340", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27001, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 27026, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51f4d320", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 27001, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 27026, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a51f4d318", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51f4d2e0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 27001, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 27026, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f4d2c8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27024, + "col": 47, + "tokLen": 1 + }, + "end": { + "offset": 27024, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f4d2a8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27024, + "col": 47, + "tokLen": 1 + }, + "end": { + "offset": 27024, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a51f4d290", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27001, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 27001, + "col": 24, + "tokLen": 22 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f4ce10", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 27001, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 27001, + "col": 24, + "tokLen": 22 + } + }, + "type": { + "qualType": "const char[21]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown file format \"" + } + ] + }, + { + "id": "0x558a51f4ce40", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27026, + "col": 49, + "tokLen": 1 + }, + "end": { + "offset": 27026, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f4a2e0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} +{ + "id": "0x558a51f4d5d0", + "kind": "FunctionDecl", + "loc": { + "offset": 27070, + "file": "ToString.cpp", + "line": 892, + "col": 38, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 27033, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 27464, + "line": 902, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bbbc00", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs18externalSignalFlagEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::externalSignalFlag (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::externalSignalFlag" + }, + "inner": [ + { + "id": "0x558a5152ae10", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::externalSignalFlag" + }, + "decl": { + "id": "0x558a5152ad68", + "kind": "EnumDecl", + "name": "externalSignalFlag" + } + } + ] + }, + { + "id": "0x558a51f4d4f8", + "kind": "ParmVarDecl", + "loc": { + "offset": 27098, + "line": 892, + "col": 66, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 27079, + "col": 47, + "tokLen": 5 + }, + "end": { + "offset": 27098, + "col": 66, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51f52eb8", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 27101, + "col": 69, + "tokLen": 1 + }, + "end": { + "offset": 27464, + "line": 902, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51f4ebd0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 27107, + "line": 893, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 27163, + "line": 894, + "col": 22, + "tokLen": 22 + } + }, + "inner": [ + { + "id": "0x558a51f4eb20", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 27111, + "line": 893, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27116, + "col": 14, + "tokLen": 24 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f4eb08", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27113, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27113, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f4eae8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27113, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27113, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f4d7b8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27111, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27111, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f4d4f8", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f4ead0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27116, + "col": 14, + "tokLen": 24 + }, + "end": { + "offset": 27116, + "col": 14, + "tokLen": 24 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f4d7d8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 27116, + "col": 14, + "tokLen": 24 + }, + "end": { + "offset": 27116, + "col": 14, + "tokLen": 24 + } + }, + "type": { + "qualType": "const char[23]" + }, + "valueCategory": "lvalue", + "value": "\"trigger_in_rising_edge\"" + } + ] + } + ] + }, + { + "id": "0x558a51f4ebc0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 27150, + "line": 894, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 27163, + "col": 22, + "tokLen": 22 + } + }, + "inner": [ + { + "id": "0x558a51f4eb90", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27157, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 27163, + "col": 22, + "tokLen": 22 + } + }, + "type": { + "qualType": "slsDetectorDefs::externalSignalFlag" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152ae30", + "kind": "EnumConstantDecl", + "name": "TRIGGER_IN_RISING_EDGE", + "type": { + "qualType": "slsDetectorDefs::externalSignalFlag" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f50010", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 27191, + "line": 895, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 27248, + "line": 896, + "col": 22, + "tokLen": 23 + } + }, + "inner": [ + { + "id": "0x558a51f4ff60", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 27195, + "line": 895, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27200, + "col": 14, + "tokLen": 25 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f4ff48", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27197, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27197, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f4ff28", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27197, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27197, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f4ebf0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27195, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27195, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f4d4f8", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f4ff10", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27200, + "col": 14, + "tokLen": 25 + }, + "end": { + "offset": 27200, + "col": 14, + "tokLen": 25 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f4ec10", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 27200, + "col": 14, + "tokLen": 25 + }, + "end": { + "offset": 27200, + "col": 14, + "tokLen": 25 + } + }, + "type": { + "qualType": "const char[24]" + }, + "valueCategory": "lvalue", + "value": "\"trigger_in_falling_edge\"" + } + ] + } + ] + }, + { + "id": "0x558a51f50000", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 27235, + "line": 896, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 27248, + "col": 22, + "tokLen": 23 + } + }, + "inner": [ + { + "id": "0x558a51f4ffd0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27242, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 27248, + "col": 22, + "tokLen": 23 + } + }, + "type": { + "qualType": "slsDetectorDefs::externalSignalFlag" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152ae88", + "kind": "EnumConstantDecl", + "name": "TRIGGER_IN_FALLING_EDGE", + "type": { + "qualType": "slsDetectorDefs::externalSignalFlag" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f51440", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 27277, + "line": 897, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 27323, + "line": 898, + "col": 22, + "tokLen": 12 + } + }, + "inner": [ + { + "id": "0x558a51f51390", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 27281, + "line": 897, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27286, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f51378", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27283, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27283, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f51358", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27283, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27283, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f50030", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27281, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27281, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f4d4f8", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f51340", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27286, + "col": 14, + "tokLen": 14 + }, + "end": { + "offset": 27286, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f50050", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 27286, + "col": 14, + "tokLen": 14 + }, + "end": { + "offset": 27286, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "const char[13]" + }, + "valueCategory": "lvalue", + "value": "\"inversion_on\"" + } + ] + } + ] + }, + { + "id": "0x558a51f51430", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 27310, + "line": 898, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 27323, + "col": 22, + "tokLen": 12 + } + }, + "inner": [ + { + "id": "0x558a51f51400", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27317, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 27323, + "col": 22, + "tokLen": 12 + } + }, + "type": { + "qualType": "slsDetectorDefs::externalSignalFlag" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152aee0", + "kind": "EnumConstantDecl", + "name": "INVERSION_ON", + "type": { + "qualType": "slsDetectorDefs::externalSignalFlag" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f52870", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 27341, + "line": 899, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 27388, + "line": 900, + "col": 22, + "tokLen": 13 + } + }, + "inner": [ + { + "id": "0x558a51f527c0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 27345, + "line": 899, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27350, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f527a8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27347, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27347, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f52788", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27347, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27347, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f51460", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27345, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27345, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f4d4f8", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f52770", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27350, + "col": 14, + "tokLen": 15 + }, + "end": { + "offset": 27350, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f51480", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 27350, + "col": 14, + "tokLen": 15 + }, + "end": { + "offset": 27350, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "const char[14]" + }, + "valueCategory": "lvalue", + "value": "\"inversion_off\"" + } + ] + } + ] + }, + { + "id": "0x558a51f52860", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 27375, + "line": 900, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 27388, + "col": 22, + "tokLen": 13 + } + }, + "inner": [ + { + "id": "0x558a51f52830", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27382, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 27388, + "col": 22, + "tokLen": 13 + } + }, + "type": { + "qualType": "slsDetectorDefs::externalSignalFlag" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152af38", + "kind": "EnumConstantDecl", + "name": "INVERSION_OFF", + "type": { + "qualType": "slsDetectorDefs::externalSignalFlag" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f52ea0", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 27407, + "line": 901, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 27461, + "col": 59, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51f52e88", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 27407, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 27461, + "col": 59, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51f52e60", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 27413, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 27461, + "col": 59, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a51f52e40", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 27413, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 27461, + "col": 59, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51f52e38", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51f52e08", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 27413, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 27461, + "col": 59, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51f52df0", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 27426, + "col": 24, + "tokLen": 31 + }, + "end": { + "offset": 27460, + "col": 58, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a51f52dd8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27426, + "col": 24, + "tokLen": 31 + }, + "end": { + "offset": 27460, + "col": 58, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51f52db8", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 27426, + "col": 24, + "tokLen": 31 + }, + "end": { + "offset": 27460, + "col": 58, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a51f52db0", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51f52d78", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 27426, + "col": 24, + "tokLen": 31 + }, + "end": { + "offset": 27460, + "col": 58, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f52d60", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27458, + "col": 56, + "tokLen": 1 + }, + "end": { + "offset": 27458, + "col": 56, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f52d40", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27458, + "col": 56, + "tokLen": 1 + }, + "end": { + "offset": 27458, + "col": 56, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a51f52d28", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27426, + "col": 24, + "tokLen": 31 + }, + "end": { + "offset": 27426, + "col": 24, + "tokLen": 31 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f528a0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 27426, + "col": 24, + "tokLen": 31 + }, + "end": { + "offset": 27426, + "col": 24, + "tokLen": 31 + } + }, + "type": { + "qualType": "const char[30]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown external signal flag \"" + } + ] + }, + { + "id": "0x558a51f528d8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27460, + "col": 58, + "tokLen": 1 + }, + "end": { + "offset": 27460, + "col": 58, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f4d4f8", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} +{ + "id": "0x558a51f53080", + "kind": "FunctionDecl", + "loc": { + "offset": 27497, + "file": "ToString.cpp", + "line": 904, + "col": 31, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 27467, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 27920, + "line": 916, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bbc190", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs11readoutModeEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::readoutMode (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::readoutMode" + }, + "inner": [ + { + "id": "0x558a5152e590", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::readoutMode" + }, + "decl": { + "id": "0x558a5152e4e8", + "kind": "EnumDecl", + "name": "readoutMode" + } + } + ] + }, + { + "id": "0x558a51f52fa0", + "kind": "ParmVarDecl", + "loc": { + "offset": 27525, + "line": 904, + "col": 59, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 27506, + "col": 40, + "tokLen": 5 + }, + "end": { + "offset": 27525, + "col": 59, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51f59db0", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 27528, + "col": 62, + "tokLen": 1 + }, + "end": { + "offset": 27920, + "line": 916, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51f54670", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 27534, + "line": 905, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 27574, + "line": 906, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51f545c0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 27538, + "line": 905, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27543, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f545a8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27540, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27540, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f54588", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27540, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27540, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f53268", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27538, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27538, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f52fa0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f54570", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27543, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 27543, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f53288", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 27543, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 27543, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"analog\"" + } + ] + } + ] + }, + { + "id": "0x558a51f54660", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 27561, + "line": 906, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 27574, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51f54630", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27568, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 27574, + "col": 22, + "tokLen": 11 + } + }, + "type": { + "qualType": "slsDetectorDefs::readoutMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e5b0", + "kind": "EnumConstantDecl", + "name": "ANALOG_ONLY", + "type": { + "qualType": "slsDetectorDefs::readoutMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f55aa0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 27591, + "line": 907, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 27632, + "line": 908, + "col": 22, + "tokLen": 12 + } + }, + "inner": [ + { + "id": "0x558a51f559f0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 27595, + "line": 907, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27600, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f559d8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27597, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27597, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f559b8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27597, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27597, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f54690", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27595, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27595, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f52fa0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f559a0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27600, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 27600, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f546b0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 27600, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 27600, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char[8]" + }, + "valueCategory": "lvalue", + "value": "\"digital\"" + } + ] + } + ] + }, + { + "id": "0x558a51f55a90", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 27619, + "line": 908, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 27632, + "col": 22, + "tokLen": 12 + } + }, + "inner": [ + { + "id": "0x558a51f55a60", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27626, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 27632, + "col": 22, + "tokLen": 12 + } + }, + "type": { + "qualType": "slsDetectorDefs::readoutMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e608", + "kind": "EnumConstantDecl", + "name": "DIGITAL_ONLY", + "type": { + "qualType": "slsDetectorDefs::readoutMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f56ed0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 27650, + "line": 909, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 27698, + "line": 910, + "col": 22, + "tokLen": 18 + } + }, + "inner": [ + { + "id": "0x558a51f56e20", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 27654, + "line": 909, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27659, + "col": 14, + "tokLen": 16 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f56e08", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27656, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27656, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f56de8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27656, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27656, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f55ac0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27654, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27654, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f52fa0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f56dd0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27659, + "col": 14, + "tokLen": 16 + }, + "end": { + "offset": 27659, + "col": 14, + "tokLen": 16 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f55ae0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 27659, + "col": 14, + "tokLen": 16 + }, + "end": { + "offset": 27659, + "col": 14, + "tokLen": 16 + } + }, + "type": { + "qualType": "const char[15]" + }, + "valueCategory": "lvalue", + "value": "\"analog_digital\"" + } + ] + } + ] + }, + { + "id": "0x558a51f56ec0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 27685, + "line": 910, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 27698, + "col": 22, + "tokLen": 18 + } + }, + "inner": [ + { + "id": "0x558a51f56e90", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27692, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 27698, + "col": 22, + "tokLen": 18 + } + }, + "type": { + "qualType": "slsDetectorDefs::readoutMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e660", + "kind": "EnumConstantDecl", + "name": "ANALOG_AND_DIGITAL", + "type": { + "qualType": "slsDetectorDefs::readoutMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f58300", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 27722, + "line": 911, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 27767, + "line": 912, + "col": 22, + "tokLen": 16 + } + }, + "inner": [ + { + "id": "0x558a51f58250", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 27726, + "line": 911, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27731, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f58238", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27728, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27728, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f58218", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27728, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27728, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f56ef0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27726, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27726, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f52fa0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f58200", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27731, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 27731, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f56f10", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 27731, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 27731, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char[12]" + }, + "valueCategory": "lvalue", + "value": "\"transceiver\"" + } + ] + } + ] + }, + { + "id": "0x558a51f582f0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 27754, + "line": 912, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 27767, + "col": 22, + "tokLen": 16 + } + }, + "inner": [ + { + "id": "0x558a51f582c0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27761, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 27767, + "col": 22, + "tokLen": 16 + } + }, + "type": { + "qualType": "slsDetectorDefs::readoutMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e6b8", + "kind": "EnumConstantDecl", + "name": "TRANSCEIVER_ONLY", + "type": { + "qualType": "slsDetectorDefs::readoutMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f59740", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 27789, + "line": 913, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 27842, + "line": 914, + "col": 22, + "tokLen": 23 + } + }, + "inner": [ + { + "id": "0x558a51f59690", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 27793, + "line": 913, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27798, + "col": 14, + "tokLen": 21 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f59678", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27795, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27795, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f59658", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27795, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27795, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f58320", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27793, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27793, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f52fa0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f59640", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27798, + "col": 14, + "tokLen": 21 + }, + "end": { + "offset": 27798, + "col": 14, + "tokLen": 21 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f58340", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 27798, + "col": 14, + "tokLen": 21 + }, + "end": { + "offset": 27798, + "col": 14, + "tokLen": 21 + } + }, + "type": { + "qualType": "const char[20]" + }, + "valueCategory": "lvalue", + "value": "\"digital_transceiver\"" + } + ] + } + ] + }, + { + "id": "0x558a51f59730", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 27829, + "line": 914, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 27842, + "col": 22, + "tokLen": 23 + } + }, + "inner": [ + { + "id": "0x558a51f59700", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27836, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 27842, + "col": 22, + "tokLen": 23 + } + }, + "type": { + "qualType": "slsDetectorDefs::readoutMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e710", + "kind": "EnumConstantDecl", + "name": "DIGITAL_AND_TRANSCEIVER", + "type": { + "qualType": "slsDetectorDefs::readoutMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f59d98", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 27871, + "line": 915, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 27917, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51f59d80", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 27871, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 27917, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51f59d58", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 27877, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 27917, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a51f59d38", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 27877, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 27917, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51f59d30", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51f59d00", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 27877, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 27917, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51f59ce8", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 27890, + "col": 24, + "tokLen": 23 + }, + "end": { + "offset": 27916, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a51f59cd0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27890, + "col": 24, + "tokLen": 23 + }, + "end": { + "offset": 27916, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51f59cb0", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 27890, + "col": 24, + "tokLen": 23 + }, + "end": { + "offset": 27916, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a51f59ca8", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51f59c70", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 27890, + "col": 24, + "tokLen": 23 + }, + "end": { + "offset": 27916, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f59c58", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27914, + "col": 48, + "tokLen": 1 + }, + "end": { + "offset": 27914, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f59c38", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27914, + "col": 48, + "tokLen": 1 + }, + "end": { + "offset": 27914, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a51f59c20", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27890, + "col": 24, + "tokLen": 23 + }, + "end": { + "offset": 27890, + "col": 24, + "tokLen": 23 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f59770", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 27890, + "col": 24, + "tokLen": 23 + }, + "end": { + "offset": 27890, + "col": 24, + "tokLen": 23 + } + }, + "type": { + "qualType": "const char[22]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown readout mode \"" + } + ] + }, + { + "id": "0x558a51f597a0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27916, + "col": 50, + "tokLen": 1 + }, + "end": { + "offset": 27916, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f52fa0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} +{ + "id": "0x558a51f59f80", + "kind": "FunctionDecl", + "loc": { + "offset": 27950, + "file": "ToString.cpp", + "line": 918, + "col": 28, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 27923, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 33113, + "line": 1096, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bbc720", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs8dacIndexEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::dacIndex (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "inner": [ + { + "id": "0x558a5152b360", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "decl": { + "id": "0x558a5152b2b8", + "kind": "EnumDecl", + "name": "dacIndex" + } + } + ] + }, + { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "loc": { + "offset": 27978, + "line": 918, + "col": 56, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 27959, + "col": 37, + "tokLen": 5 + }, + "end": { + "offset": 27978, + "col": 56, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51fdfb00", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 27981, + "col": 59, + "tokLen": 1 + }, + "end": { + "offset": 33113, + "line": 1096, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51f5c920", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 27987, + "line": 919, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 28038, + "line": 920, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f5c888", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 27991, + "line": 919, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28012, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f5b4c0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 27991, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27996, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f5b4a8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27993, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27993, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f5b488", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27993, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27993, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f5a168", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27991, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27991, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f5b470", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27996, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 27996, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f5a188", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 27996, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 27996, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"dac 0\"" + } + ] + } + ] + }, + { + "id": "0x558a51f5c850", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28007, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28012, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f5c838", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28009, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28009, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f5c818", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28009, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28009, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f5b4f8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28007, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28007, + "col": 25, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f5c800", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28012, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28012, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f5b518", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28012, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28012, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char[2]" + }, + "valueCategory": "lvalue", + "value": "\"0\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f5c910", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 28025, + "line": 920, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 28038, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f5c8e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28032, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 28038, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b380", + "kind": "EnumConstantDecl", + "name": "DAC_0", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f5f100", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 28049, + "line": 921, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 28100, + "line": 922, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f5f068", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 28053, + "line": 921, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28074, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f5dca0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28053, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28058, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f5dc88", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28055, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28055, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f5dc68", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28055, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28055, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f5c940", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28053, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28053, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f5dc50", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28058, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28058, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f5c960", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28058, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28058, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"dac 1\"" + } + ] + } + ] + }, + { + "id": "0x558a51f5f030", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28069, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28074, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f5f018", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28071, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28071, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f5eff8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28071, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28071, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f5dcd8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28069, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28069, + "col": 25, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f5efe0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28074, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28074, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f5dcf8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28074, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28074, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char[2]" + }, + "valueCategory": "lvalue", + "value": "\"1\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f5f0f0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 28087, + "line": 922, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 28100, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f5f0c0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28094, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 28100, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b3d8", + "kind": "EnumConstantDecl", + "name": "DAC_1", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f618e0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 28111, + "line": 923, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 28162, + "line": 924, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f61848", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 28115, + "line": 923, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28136, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f60480", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28115, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28120, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f60468", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28117, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28117, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f60448", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28117, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28117, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f5f120", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28115, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28115, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f60430", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28120, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28120, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f5f140", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28120, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28120, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"dac 2\"" + } + ] + } + ] + }, + { + "id": "0x558a51f61810", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28131, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28136, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f617f8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28133, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28133, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f617d8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28133, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28133, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f604b8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28131, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28131, + "col": 25, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f617c0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28136, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28136, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f604d8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28136, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28136, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char[2]" + }, + "valueCategory": "lvalue", + "value": "\"2\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f618d0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 28149, + "line": 924, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 28162, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f618a0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28156, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 28162, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b430", + "kind": "EnumConstantDecl", + "name": "DAC_2", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f640c0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 28173, + "line": 925, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 28224, + "line": 926, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f64028", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 28177, + "line": 925, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28198, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f62c60", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28177, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28182, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f62c48", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28179, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28179, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f62c28", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28179, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28179, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f61900", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28177, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28177, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f62c10", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28182, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28182, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f61920", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28182, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28182, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"dac 3\"" + } + ] + } + ] + }, + { + "id": "0x558a51f63ff0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28193, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28198, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f63fd8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28195, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28195, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f63fb8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28195, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28195, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f62c98", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28193, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28193, + "col": 25, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f63fa0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28198, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28198, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f62cb8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28198, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28198, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char[2]" + }, + "valueCategory": "lvalue", + "value": "\"3\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f640b0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 28211, + "line": 926, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 28224, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f64080", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28218, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 28224, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b488", + "kind": "EnumConstantDecl", + "name": "DAC_3", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f668b0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 28235, + "line": 927, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 28286, + "line": 928, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f66818", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 28239, + "line": 927, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28260, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f65440", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28239, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28244, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f65428", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28241, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28241, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f65408", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28241, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28241, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f640e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28239, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28239, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f653f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28244, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28244, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f64100", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28244, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28244, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"dac 4\"" + } + ] + } + ] + }, + { + "id": "0x558a51f667e0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28255, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28260, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f667c8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28257, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28257, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f667a8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28257, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28257, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f65478", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28255, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28255, + "col": 25, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f66790", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28260, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28260, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f65498", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28260, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28260, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char[2]" + }, + "valueCategory": "lvalue", + "value": "\"4\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f668a0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 28273, + "line": 928, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 28286, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f66870", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28280, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 28286, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b4e0", + "kind": "EnumConstantDecl", + "name": "DAC_4", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f69090", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 28297, + "line": 929, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 28348, + "line": 930, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f68ff8", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 28301, + "line": 929, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28322, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f67c30", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28301, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28306, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f67c18", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28303, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28303, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f67bf8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28303, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28303, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f668d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28301, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28301, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f67be0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28306, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28306, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f668f0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28306, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28306, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"dac 5\"" + } + ] + } + ] + }, + { + "id": "0x558a51f68fc0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28317, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28322, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f68fa8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28319, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28319, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f68f88", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28319, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28319, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f67c68", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28317, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28317, + "col": 25, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f68f70", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28322, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28322, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f67c88", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28322, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28322, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char[2]" + }, + "valueCategory": "lvalue", + "value": "\"5\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f69080", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 28335, + "line": 930, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 28348, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f69050", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28342, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 28348, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b538", + "kind": "EnumConstantDecl", + "name": "DAC_5", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f6b870", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 28359, + "line": 931, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 28410, + "line": 932, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f6b7d8", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 28363, + "line": 931, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28384, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f6a410", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28363, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28368, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f6a3f8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28365, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28365, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f6a3d8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28365, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28365, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f690b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28363, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28363, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f6a3c0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28368, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28368, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f690d0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28368, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28368, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"dac 6\"" + } + ] + } + ] + }, + { + "id": "0x558a51f6b7a0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28379, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28384, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f6b788", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28381, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28381, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f6b768", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28381, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28381, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f6a448", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28379, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28379, + "col": 25, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f6b750", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28384, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28384, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f6a468", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28384, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28384, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char[2]" + }, + "valueCategory": "lvalue", + "value": "\"6\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f6b860", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 28397, + "line": 932, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 28410, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f6b830", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28404, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 28410, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b590", + "kind": "EnumConstantDecl", + "name": "DAC_6", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f6e050", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 28421, + "line": 933, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 28472, + "line": 934, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f6dfb8", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 28425, + "line": 933, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28446, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f6cbf0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28425, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28430, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f6cbd8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28427, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28427, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f6cbb8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28427, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28427, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f6b890", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28425, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28425, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f6cba0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28430, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28430, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f6b8b0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28430, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28430, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"dac 7\"" + } + ] + } + ] + }, + { + "id": "0x558a51f6df80", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28441, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28446, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f6df68", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28443, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28443, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f6df48", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28443, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28443, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f6cc28", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28441, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28441, + "col": 25, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f6df30", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28446, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28446, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f6cc48", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28446, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28446, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char[2]" + }, + "valueCategory": "lvalue", + "value": "\"7\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f6e040", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 28459, + "line": 934, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 28472, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f6e010", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28466, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 28472, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b5e8", + "kind": "EnumConstantDecl", + "name": "DAC_7", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f70830", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 28483, + "line": 935, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 28534, + "line": 936, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f70798", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 28487, + "line": 935, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28508, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f6f3d0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28487, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28492, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f6f3b8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28489, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28489, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f6f398", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28489, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28489, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f6e070", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28487, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28487, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f6f380", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28492, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28492, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f6e090", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28492, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28492, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"dac 8\"" + } + ] + } + ] + }, + { + "id": "0x558a51f70760", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28503, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28508, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f70748", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28505, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28505, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f70728", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28505, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28505, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f6f408", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28503, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28503, + "col": 25, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f70710", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28508, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28508, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f6f428", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28508, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28508, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char[2]" + }, + "valueCategory": "lvalue", + "value": "\"8\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f70820", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 28521, + "line": 936, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 28534, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f707f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28528, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 28534, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b640", + "kind": "EnumConstantDecl", + "name": "DAC_8", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f73010", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 28545, + "line": 937, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 28596, + "line": 938, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f72f78", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 28549, + "line": 937, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28570, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f71bb0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28549, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28554, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f71b98", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28551, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28551, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f71b78", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28551, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28551, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f70850", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28549, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28549, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f71b60", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28554, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28554, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f70870", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28554, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28554, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"dac 9\"" + } + ] + } + ] + }, + { + "id": "0x558a51f72f40", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28565, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28570, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f72f28", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28567, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28567, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f72f08", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28567, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28567, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f71be8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28565, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28565, + "col": 25, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f72ef0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28570, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28570, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f71c08", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28570, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28570, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char[2]" + }, + "valueCategory": "lvalue", + "value": "\"9\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f73000", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 28583, + "line": 938, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 28596, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f72fd0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28590, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 28596, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b698", + "kind": "EnumConstantDecl", + "name": "DAC_9", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f757f0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 28607, + "line": 939, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 28660, + "line": 940, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f75758", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 28611, + "line": 939, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28633, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f74390", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28611, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28616, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f74378", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28613, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28613, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f74358", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28613, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28613, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f73030", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28611, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28611, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f74340", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28616, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 28616, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f73050", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28616, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 28616, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"dac 10\"" + } + ] + } + ] + }, + { + "id": "0x558a51f75720", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28628, + "col": 26, + "tokLen": 1 + }, + "end": { + "offset": 28633, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f75708", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28630, + "col": 28, + "tokLen": 2 + }, + "end": { + "offset": 28630, + "col": 28, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f756e8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28630, + "col": 28, + "tokLen": 2 + }, + "end": { + "offset": 28630, + "col": 28, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f743c8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28628, + "col": 26, + "tokLen": 1 + }, + "end": { + "offset": 28628, + "col": 26, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f756d0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28633, + "col": 31, + "tokLen": 4 + }, + "end": { + "offset": 28633, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f743e8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28633, + "col": 31, + "tokLen": 4 + }, + "end": { + "offset": 28633, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"10\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f757e0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 28647, + "line": 940, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 28660, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f757b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28654, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 28660, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b6f0", + "kind": "EnumConstantDecl", + "name": "DAC_10", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f77fd0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 28672, + "line": 941, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 28725, + "line": 942, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f77f38", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 28676, + "line": 941, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28698, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f76b70", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28676, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28681, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f76b58", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28678, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28678, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f76b38", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28678, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28678, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f75810", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28676, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28676, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f76b20", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28681, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 28681, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f75830", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28681, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 28681, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"dac 11\"" + } + ] + } + ] + }, + { + "id": "0x558a51f77f00", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28693, + "col": 26, + "tokLen": 1 + }, + "end": { + "offset": 28698, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f77ee8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28695, + "col": 28, + "tokLen": 2 + }, + "end": { + "offset": 28695, + "col": 28, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f77ec8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28695, + "col": 28, + "tokLen": 2 + }, + "end": { + "offset": 28695, + "col": 28, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f76ba8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28693, + "col": 26, + "tokLen": 1 + }, + "end": { + "offset": 28693, + "col": 26, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f77eb0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28698, + "col": 31, + "tokLen": 4 + }, + "end": { + "offset": 28698, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f76bc8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28698, + "col": 31, + "tokLen": 4 + }, + "end": { + "offset": 28698, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"11\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f77fc0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 28712, + "line": 942, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 28725, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f77f90", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28719, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 28725, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b748", + "kind": "EnumConstantDecl", + "name": "DAC_11", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f7a7b0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 28737, + "line": 943, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 28790, + "line": 944, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f7a718", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 28741, + "line": 943, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28763, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f79350", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28741, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28746, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f79338", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28743, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28743, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f79318", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28743, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28743, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f77ff0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28741, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28741, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f79300", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28746, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 28746, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f78010", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28746, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 28746, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"dac 12\"" + } + ] + } + ] + }, + { + "id": "0x558a51f7a6e0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28758, + "col": 26, + "tokLen": 1 + }, + "end": { + "offset": 28763, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f7a6c8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28760, + "col": 28, + "tokLen": 2 + }, + "end": { + "offset": 28760, + "col": 28, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f7a6a8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28760, + "col": 28, + "tokLen": 2 + }, + "end": { + "offset": 28760, + "col": 28, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f79388", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28758, + "col": 26, + "tokLen": 1 + }, + "end": { + "offset": 28758, + "col": 26, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f7a690", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28763, + "col": 31, + "tokLen": 4 + }, + "end": { + "offset": 28763, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f793a8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28763, + "col": 31, + "tokLen": 4 + }, + "end": { + "offset": 28763, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"12\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f7a7a0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 28777, + "line": 944, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 28790, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f7a770", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28784, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 28790, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b7a0", + "kind": "EnumConstantDecl", + "name": "DAC_12", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f7cf90", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 28802, + "line": 945, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 28855, + "line": 946, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f7cef8", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 28806, + "line": 945, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28828, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f7bb30", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28806, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28811, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f7bb18", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28808, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28808, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f7baf8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28808, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28808, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f7a7d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28806, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28806, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f7bae0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28811, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 28811, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f7a7f0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28811, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 28811, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"dac 13\"" + } + ] + } + ] + }, + { + "id": "0x558a51f7cec0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28823, + "col": 26, + "tokLen": 1 + }, + "end": { + "offset": 28828, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f7cea8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28825, + "col": 28, + "tokLen": 2 + }, + "end": { + "offset": 28825, + "col": 28, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f7ce88", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28825, + "col": 28, + "tokLen": 2 + }, + "end": { + "offset": 28825, + "col": 28, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f7bb68", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28823, + "col": 26, + "tokLen": 1 + }, + "end": { + "offset": 28823, + "col": 26, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f7ce70", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28828, + "col": 31, + "tokLen": 4 + }, + "end": { + "offset": 28828, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f7bb88", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28828, + "col": 31, + "tokLen": 4 + }, + "end": { + "offset": 28828, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"13\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f7cf80", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 28842, + "line": 946, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 28855, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f7cf50", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28849, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 28855, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b7f8", + "kind": "EnumConstantDecl", + "name": "DAC_13", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f7f770", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 28867, + "line": 947, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 28920, + "line": 948, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f7f6d8", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 28871, + "line": 947, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28893, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f7e310", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28871, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28876, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f7e2f8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28873, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28873, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f7e2d8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28873, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28873, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f7cfb0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28871, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28871, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f7e2c0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28876, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 28876, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f7cfd0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28876, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 28876, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"dac 14\"" + } + ] + } + ] + }, + { + "id": "0x558a51f7f6a0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28888, + "col": 26, + "tokLen": 1 + }, + "end": { + "offset": 28893, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f7f688", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28890, + "col": 28, + "tokLen": 2 + }, + "end": { + "offset": 28890, + "col": 28, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f7f668", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28890, + "col": 28, + "tokLen": 2 + }, + "end": { + "offset": 28890, + "col": 28, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f7e348", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28888, + "col": 26, + "tokLen": 1 + }, + "end": { + "offset": 28888, + "col": 26, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f7f650", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28893, + "col": 31, + "tokLen": 4 + }, + "end": { + "offset": 28893, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f7e368", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28893, + "col": 31, + "tokLen": 4 + }, + "end": { + "offset": 28893, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"14\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f7f760", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 28907, + "line": 948, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 28920, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f7f730", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28914, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 28920, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b850", + "kind": "EnumConstantDecl", + "name": "DAC_14", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f81f50", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 28932, + "line": 949, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 28985, + "line": 950, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f81eb8", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 28936, + "line": 949, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28958, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f80af0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28936, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28941, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f80ad8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28938, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28938, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f80ab8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28938, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28938, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f7f790", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28936, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28936, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f80aa0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28941, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 28941, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f7f7b0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28941, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 28941, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"dac 15\"" + } + ] + } + ] + }, + { + "id": "0x558a51f81e80", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28953, + "col": 26, + "tokLen": 1 + }, + "end": { + "offset": 28958, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f81e68", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28955, + "col": 28, + "tokLen": 2 + }, + "end": { + "offset": 28955, + "col": 28, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f81e48", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28955, + "col": 28, + "tokLen": 2 + }, + "end": { + "offset": 28955, + "col": 28, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f80b28", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28953, + "col": 26, + "tokLen": 1 + }, + "end": { + "offset": 28953, + "col": 26, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f81e30", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28958, + "col": 31, + "tokLen": 4 + }, + "end": { + "offset": 28958, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f80b48", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28958, + "col": 31, + "tokLen": 4 + }, + "end": { + "offset": 28958, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"15\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f81f40", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 28972, + "line": 950, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 28985, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f81f10", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28979, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 28985, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b8a8", + "kind": "EnumConstantDecl", + "name": "DAC_15", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f84730", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 28997, + "line": 951, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29050, + "line": 952, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f84698", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 29001, + "line": 951, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29023, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f832d0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29001, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29006, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f832b8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29003, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29003, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f83298", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29003, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29003, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f81f70", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29001, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29001, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f83280", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29006, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 29006, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f81f90", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29006, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 29006, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"dac 16\"" + } + ] + } + ] + }, + { + "id": "0x558a51f84660", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29018, + "col": 26, + "tokLen": 1 + }, + "end": { + "offset": 29023, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f84648", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29020, + "col": 28, + "tokLen": 2 + }, + "end": { + "offset": 29020, + "col": 28, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f84628", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29020, + "col": 28, + "tokLen": 2 + }, + "end": { + "offset": 29020, + "col": 28, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f83308", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29018, + "col": 26, + "tokLen": 1 + }, + "end": { + "offset": 29018, + "col": 26, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f84610", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29023, + "col": 31, + "tokLen": 4 + }, + "end": { + "offset": 29023, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f83328", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29023, + "col": 31, + "tokLen": 4 + }, + "end": { + "offset": 29023, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"16\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f84720", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29037, + "line": 952, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29050, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f846f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29044, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29050, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b900", + "kind": "EnumConstantDecl", + "name": "DAC_16", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f86f50", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29062, + "line": 953, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29115, + "line": 954, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f86eb8", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 29066, + "line": 953, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29088, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f85ab0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29066, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29071, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f85a98", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29068, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29068, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f85a78", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29068, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29068, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f84750", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29066, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29066, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f85a60", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29071, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 29071, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f84770", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29071, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 29071, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"dac 17\"" + } + ] + } + ] + }, + { + "id": "0x558a51f86e80", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29083, + "col": 26, + "tokLen": 1 + }, + "end": { + "offset": 29088, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f86e68", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29085, + "col": 28, + "tokLen": 2 + }, + "end": { + "offset": 29085, + "col": 28, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f86e48", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29085, + "col": 28, + "tokLen": 2 + }, + "end": { + "offset": 29085, + "col": 28, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f85ae8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29083, + "col": 26, + "tokLen": 1 + }, + "end": { + "offset": 29083, + "col": 26, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f86e30", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29088, + "col": 31, + "tokLen": 4 + }, + "end": { + "offset": 29088, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f85b08", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29088, + "col": 31, + "tokLen": 4 + }, + "end": { + "offset": 29088, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"17\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f86f40", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29102, + "line": 954, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29115, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f86f10", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29109, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29115, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b958", + "kind": "EnumConstantDecl", + "name": "DAC_17", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f88380", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29127, + "line": 955, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29165, + "line": 956, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51f882d0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29131, + "line": 955, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29136, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f882b8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29133, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29133, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f88298", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29133, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29133, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f86f70", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29131, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29131, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f88280", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29136, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 29136, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f86f90", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29136, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 29136, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char[5]" + }, + "valueCategory": "lvalue", + "value": "\"vsvp\"" + } + ] + } + ] + }, + { + "id": "0x558a51f88370", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29152, + "line": 956, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29165, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51f88340", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29159, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29165, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b9b0", + "kind": "EnumConstantDecl", + "name": "VSVP", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f897b0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29175, + "line": 957, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29214, + "line": 958, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f89700", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29179, + "line": 957, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29184, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f896e8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29181, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29181, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f896c8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29181, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29181, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f883a0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29179, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29179, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f896b0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29184, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 29184, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f883c0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29184, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 29184, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"vtrim\"" + } + ] + } + ] + }, + { + "id": "0x558a51f897a0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29201, + "line": 958, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29214, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f89770", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29208, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29214, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152ba08", + "kind": "EnumConstantDecl", + "name": "VTRIM", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f8abe0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29225, + "line": 959, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29267, + "line": 960, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f8ab30", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29229, + "line": 959, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29234, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f8ab18", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29231, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29231, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f8aaf8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29231, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29231, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f897d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29229, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29229, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f8aae0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29234, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 29234, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f897f0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29234, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 29234, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"vrpreamp\"" + } + ] + } + ] + }, + { + "id": "0x558a51f8abd0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29254, + "line": 960, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29267, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f8aba0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29261, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29267, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152ba60", + "kind": "EnumConstantDecl", + "name": "VRPREAMP", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f8c010", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29281, + "line": 961, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29323, + "line": 962, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f8bf60", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29285, + "line": 961, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29290, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f8bf48", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29287, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29287, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f8bf28", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29287, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29287, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f8ac00", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29285, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29285, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f8bf10", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29290, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 29290, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f8ac20", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29290, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 29290, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"vrshaper\"" + } + ] + } + ] + }, + { + "id": "0x558a51f8c000", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29310, + "line": 962, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29323, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f8bfd0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29317, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29323, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152bab8", + "kind": "EnumConstantDecl", + "name": "VRSHAPER", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f8d440", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29337, + "line": 963, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29375, + "line": 964, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51f8d390", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29341, + "line": 963, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29346, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f8d378", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29343, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29343, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f8d358", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29343, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29343, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f8c030", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29341, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29341, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f8d340", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29346, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 29346, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f8c050", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29346, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 29346, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char[5]" + }, + "valueCategory": "lvalue", + "value": "\"vsvn\"" + } + ] + } + ] + }, + { + "id": "0x558a51f8d430", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29362, + "line": 964, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29375, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51f8d400", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29369, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29375, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152bb10", + "kind": "EnumConstantDecl", + "name": "VSVN", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f8e870", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29385, + "line": 965, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29425, + "line": 966, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f8e7c0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29389, + "line": 965, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29394, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f8e7a8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29391, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29391, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f8e788", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29391, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29391, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f8d460", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29389, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29389, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f8e770", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29394, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 29394, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f8d480", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29394, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 29394, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"vtgstv\"" + } + ] + } + ] + }, + { + "id": "0x558a51f8e860", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29412, + "line": 966, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29425, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f8e830", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29419, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29425, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152bb68", + "kind": "EnumConstantDecl", + "name": "VTGSTV", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f8fca0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29437, + "line": 967, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29478, + "line": 968, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51f8fbf0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29441, + "line": 967, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29446, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f8fbd8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29443, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29443, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f8fbb8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29443, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29443, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f8e890", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29441, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29441, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f8fba0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29446, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 29446, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f8e8b0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29446, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 29446, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char[8]" + }, + "valueCategory": "lvalue", + "value": "\"vcmp_ll\"" + } + ] + } + ] + }, + { + "id": "0x558a51f8fc90", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29465, + "line": 968, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29478, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51f8fc60", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29472, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29478, + "col": 22, + "tokLen": 7 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152bbc0", + "kind": "EnumConstantDecl", + "name": "VCMP_LL", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f910d0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29491, + "line": 969, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29532, + "line": 970, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51f91020", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29495, + "line": 969, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29500, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f91008", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29497, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29497, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f90fe8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29497, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29497, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f8fcc0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29495, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29495, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f90fd0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29500, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 29500, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f8fce0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29500, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 29500, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char[8]" + }, + "valueCategory": "lvalue", + "value": "\"vcmp_lr\"" + } + ] + } + ] + }, + { + "id": "0x558a51f910c0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29519, + "line": 970, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29532, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51f91090", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29526, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29532, + "col": 22, + "tokLen": 7 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152bc18", + "kind": "EnumConstantDecl", + "name": "VCMP_LR", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f92500", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29545, + "line": 971, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29583, + "line": 972, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51f92450", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29549, + "line": 971, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29554, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f92438", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29551, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29551, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f92418", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29551, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29551, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f910f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29549, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29549, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f92400", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29554, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 29554, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f91110", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29554, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 29554, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char[5]" + }, + "valueCategory": "lvalue", + "value": "\"vcal\"" + } + ] + } + ] + }, + { + "id": "0x558a51f924f0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29570, + "line": 972, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29583, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51f924c0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29577, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29583, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152bc70", + "kind": "EnumConstantDecl", + "name": "VCAL", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f93930", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29593, + "line": 973, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29634, + "line": 974, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51f93880", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29597, + "line": 973, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29602, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f93868", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29599, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29599, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f93848", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29599, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29599, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f92520", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29597, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29597, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f93830", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29602, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 29602, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f92540", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29602, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 29602, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char[8]" + }, + "valueCategory": "lvalue", + "value": "\"vcmp_rl\"" + } + ] + } + ] + }, + { + "id": "0x558a51f93920", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29621, + "line": 974, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29634, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51f938f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29628, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29634, + "col": 22, + "tokLen": 7 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152bcc8", + "kind": "EnumConstantDecl", + "name": "VCMP_RL", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f94d60", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29647, + "line": 975, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29687, + "line": 976, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f94cb0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29651, + "line": 975, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29656, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f94c98", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29653, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29653, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f94c78", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29653, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29653, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f93950", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29651, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29651, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f94c60", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29656, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 29656, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f93970", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29656, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 29656, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"rxb_rb\"" + } + ] + } + ] + }, + { + "id": "0x558a51f94d50", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29674, + "line": 976, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29687, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f94d20", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29681, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29687, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152bd20", + "kind": "EnumConstantDecl", + "name": "RXB_RB", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f96190", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29699, + "line": 977, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29739, + "line": 978, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f960e0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29703, + "line": 977, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29708, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f960c8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29705, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29705, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f960a8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29705, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29705, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f94d80", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29703, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29703, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f96090", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29708, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 29708, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f94da0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29708, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 29708, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"rxb_lb\"" + } + ] + } + ] + }, + { + "id": "0x558a51f96180", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29726, + "line": 978, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29739, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f96150", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29733, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29739, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152bd78", + "kind": "EnumConstantDecl", + "name": "RXB_LB", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f975c0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29751, + "line": 979, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29792, + "line": 980, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51f97510", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29755, + "line": 979, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29760, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f974f8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29757, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29757, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f974d8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29757, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29757, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f961b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29755, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29755, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f974c0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29760, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 29760, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f961d0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29760, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 29760, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char[8]" + }, + "valueCategory": "lvalue", + "value": "\"vcmp_rr\"" + } + ] + } + ] + }, + { + "id": "0x558a51f975b0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29779, + "line": 980, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29792, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51f97580", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29786, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29792, + "col": 22, + "tokLen": 7 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152bdd0", + "kind": "EnumConstantDecl", + "name": "VCMP_RR", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f989f0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29805, + "line": 981, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29842, + "line": 982, + "col": 22, + "tokLen": 3 + } + }, + "inner": [ + { + "id": "0x558a51f98940", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29809, + "line": 981, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29814, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f98928", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29811, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29811, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f98908", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29811, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29811, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f975e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29809, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29809, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f988f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29814, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 29814, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f97600", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29814, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 29814, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char[4]" + }, + "valueCategory": "lvalue", + "value": "\"vcp\"" + } + ] + } + ] + }, + { + "id": "0x558a51f989e0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29829, + "line": 982, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29842, + "col": 22, + "tokLen": 3 + } + }, + "inner": [ + { + "id": "0x558a51f989b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29836, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29842, + "col": 22, + "tokLen": 3 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152be28", + "kind": "EnumConstantDecl", + "name": "VCP", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f99e20", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29851, + "line": 983, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29888, + "line": 984, + "col": 22, + "tokLen": 3 + } + }, + "inner": [ + { + "id": "0x558a51f99d70", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29855, + "line": 983, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29860, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f99d58", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29857, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29857, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f99d38", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29857, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29857, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f98a10", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29855, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29855, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f99d20", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29860, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 29860, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f98a30", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29860, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 29860, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char[4]" + }, + "valueCategory": "lvalue", + "value": "\"vcn\"" + } + ] + } + ] + }, + { + "id": "0x558a51f99e10", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29875, + "line": 984, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29888, + "col": 22, + "tokLen": 3 + } + }, + "inner": [ + { + "id": "0x558a51f99de0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29882, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29888, + "col": 22, + "tokLen": 3 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152be80", + "kind": "EnumConstantDecl", + "name": "VCN", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f9b250", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29897, + "line": 985, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29939, + "line": 986, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f9b1a0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29901, + "line": 985, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29906, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f9b188", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29903, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29903, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f9b168", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29903, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29903, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f99e40", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29901, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29901, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f9b150", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29906, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 29906, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f99e60", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29906, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 29906, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"vishaper\"" + } + ] + } + ] + }, + { + "id": "0x558a51f9b240", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29926, + "line": 986, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29939, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f9b210", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29933, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29939, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152bed8", + "kind": "EnumConstantDecl", + "name": "VISHAPER", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f9c680", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29953, + "line": 987, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29997, + "line": 988, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f9c5d0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29957, + "line": 987, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29962, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f9c5b8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29959, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29959, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f9c598", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29959, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29959, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f9b270", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29957, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29957, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f9c580", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29962, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 29962, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f9b290", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29962, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 29962, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char[11]" + }, + "valueCategory": "lvalue", + "value": "\"vthreshold\"" + } + ] + } + ] + }, + { + "id": "0x558a51f9c670", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29984, + "line": 988, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29997, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f9c640", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29991, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29997, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152bf30", + "kind": "EnumConstantDecl", + "name": "VTHRESHOLD", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f9dab0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30013, + "line": 989, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30054, + "line": 990, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51f9da00", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30017, + "line": 989, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30022, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f9d9e8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30019, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30019, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f9d9c8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30019, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30019, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f9c6a0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30017, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30017, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f9d9b0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30022, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 30022, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f9c6c0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30022, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 30022, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char[8]" + }, + "valueCategory": "lvalue", + "value": "\"vref_ds\"" + } + ] + } + ] + }, + { + "id": "0x558a51f9daa0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30041, + "line": 990, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30054, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51f9da70", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30048, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30054, + "col": 22, + "tokLen": 7 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152bfe0", + "kind": "EnumConstantDecl", + "name": "VREF_DS", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f9eee0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30067, + "line": 991, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30108, + "line": 992, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51f9ee30", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30071, + "line": 991, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30076, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f9ee18", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30073, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30073, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f9edf8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30073, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30073, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f9dad0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30071, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30071, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f9ede0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30076, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 30076, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f9daf0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30076, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 30076, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char[8]" + }, + "valueCategory": "lvalue", + "value": "\"vout_cm\"" + } + ] + } + ] + }, + { + "id": "0x558a51f9eed0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30095, + "line": 992, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30108, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51f9eea0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30102, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30108, + "col": 22, + "tokLen": 7 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c038", + "kind": "EnumConstantDecl", + "name": "VOUT_CM", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fa0310", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30121, + "line": 993, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30161, + "line": 994, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51fa0260", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30125, + "line": 993, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30130, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fa0248", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30127, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30127, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fa0228", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30127, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30127, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f9ef00", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30125, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30125, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fa0210", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30130, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 30130, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f9ef20", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30130, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 30130, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"vin_cm\"" + } + ] + } + ] + }, + { + "id": "0x558a51fa0300", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30148, + "line": 994, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30161, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51fa02d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30155, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30161, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c090", + "kind": "EnumConstantDecl", + "name": "VIN_CM", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fa1740", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30173, + "line": 995, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30216, + "line": 996, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fa1690", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30177, + "line": 995, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30182, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fa1678", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30179, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30179, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fa1658", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30179, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30179, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fa0330", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30177, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30177, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fa1640", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30182, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 30182, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fa0350", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30182, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 30182, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"vref_comp\"" + } + ] + } + ] + }, + { + "id": "0x558a51fa1730", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30203, + "line": 996, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30216, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fa1700", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30210, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30216, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c0e8", + "kind": "EnumConstantDecl", + "name": "VREF_COMP", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fa2b70", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30231, + "line": 997, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30272, + "line": 998, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51fa2ac0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30235, + "line": 997, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30240, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fa2aa8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30237, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30237, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fa2a88", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30237, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30237, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fa1760", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30235, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30235, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fa2a70", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30240, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 30240, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fa1780", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30240, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 30240, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char[8]" + }, + "valueCategory": "lvalue", + "value": "\"vb_comp\"" + } + ] + } + ] + }, + { + "id": "0x558a51fa2b60", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30259, + "line": 998, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30272, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51fa2b30", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30266, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30272, + "col": 22, + "tokLen": 7 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c140", + "kind": "EnumConstantDecl", + "name": "VB_COMP", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fa3fa0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30285, + "line": 999, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30327, + "line": 1000, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51fa3ef0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30289, + "line": 999, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30294, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fa3ed8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30291, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30291, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fa3eb8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30291, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30291, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fa2b90", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30289, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30289, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fa3ea0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30294, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 30294, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fa2bb0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30294, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 30294, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"vdd_prot\"" + } + ] + } + ] + }, + { + "id": "0x558a51fa3f90", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30314, + "line": 1000, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30327, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51fa3f60", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30321, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30327, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c198", + "kind": "EnumConstantDecl", + "name": "VDD_PROT", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fa53d0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30341, + "line": 1001, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30382, + "line": 1002, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51fa5320", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30345, + "line": 1001, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30350, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fa5308", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30347, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30347, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fa52e8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30347, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30347, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fa3fc0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30345, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30345, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fa52d0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30350, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 30350, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fa3fe0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30350, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 30350, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char[8]" + }, + "valueCategory": "lvalue", + "value": "\"vin_com\"" + } + ] + } + ] + }, + { + "id": "0x558a51fa53c0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30369, + "line": 1002, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30382, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51fa5390", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30376, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30382, + "col": 22, + "tokLen": 7 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c1f0", + "kind": "EnumConstantDecl", + "name": "VIN_COM", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fa6820", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30395, + "line": 1003, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30439, + "line": 1004, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51fa6770", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30399, + "line": 1003, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30404, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fa6758", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30401, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30401, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fa6738", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30401, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30401, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fa53f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30399, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30399, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fa6720", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30404, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 30404, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fa5410", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30404, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 30404, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char[11]" + }, + "valueCategory": "lvalue", + "value": "\"vref_prech\"" + } + ] + } + ] + }, + { + "id": "0x558a51fa6810", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30426, + "line": 1004, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30439, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51fa67e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30433, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30439, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c248", + "kind": "EnumConstantDecl", + "name": "VREF_PRECH", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fa7c50", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30455, + "line": 1005, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30498, + "line": 1006, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fa7ba0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30459, + "line": 1005, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30464, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fa7b88", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30461, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30461, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fa7b68", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30461, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30461, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fa6840", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30459, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30459, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fa7b50", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30464, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 30464, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fa6860", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30464, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 30464, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"vb_pixbuf\"" + } + ] + } + ] + }, + { + "id": "0x558a51fa7c40", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30485, + "line": 1006, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30498, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fa7c10", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30492, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30498, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c2a0", + "kind": "EnumConstantDecl", + "name": "VB_PIXBUF", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fa9080", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30513, + "line": 1007, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30552, + "line": 1008, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51fa8fd0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30517, + "line": 1007, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30522, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fa8fb8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30519, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30519, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fa8f98", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30519, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30519, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fa7c70", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30517, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30517, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fa8f80", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30522, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 30522, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fa7c90", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30522, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 30522, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"vb_ds\"" + } + ] + } + ] + }, + { + "id": "0x558a51fa9070", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30539, + "line": 1008, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30552, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51fa9040", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30546, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30552, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c2f8", + "kind": "EnumConstantDecl", + "name": "VB_DS", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51faa4b0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30563, + "line": 1009, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30607, + "line": 1010, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51faa400", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30567, + "line": 1009, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30572, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51faa3e8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30569, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30569, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51faa3c8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30569, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30569, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fa90a0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30567, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30567, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51faa3b0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30572, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 30572, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fa90c0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30572, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 30572, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char[11]" + }, + "valueCategory": "lvalue", + "value": "\"vref_h_adc\"" + } + ] + } + ] + }, + { + "id": "0x558a51faa4a0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30594, + "line": 1010, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30607, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51faa470", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30601, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30607, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c350", + "kind": "EnumConstantDecl", + "name": "VREF_H_ADC", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fab8e0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30623, + "line": 1011, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30667, + "line": 1012, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51fab830", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30627, + "line": 1011, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30632, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fab818", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30629, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30629, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fab7f8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30629, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30629, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51faa4d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30627, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30627, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fab7e0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30632, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 30632, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51faa4f0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30632, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 30632, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char[11]" + }, + "valueCategory": "lvalue", + "value": "\"vb_comp_fe\"" + } + ] + } + ] + }, + { + "id": "0x558a51fab8d0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30654, + "line": 1012, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30667, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51fab8a0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30661, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30667, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c3a8", + "kind": "EnumConstantDecl", + "name": "VB_COMP_FE", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51facd10", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30683, + "line": 1013, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30728, + "line": 1014, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51facc60", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30687, + "line": 1013, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30692, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51facc48", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30689, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30689, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51facc28", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30689, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30689, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fab900", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30687, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30687, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51facc10", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30692, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 30692, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fab920", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30692, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 30692, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char[12]" + }, + "valueCategory": "lvalue", + "value": "\"vb_comp_adc\"" + } + ] + } + ] + }, + { + "id": "0x558a51facd00", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30715, + "line": 1014, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30728, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51faccd0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30722, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30728, + "col": 22, + "tokLen": 11 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c400", + "kind": "EnumConstantDecl", + "name": "VB_COMP_ADC", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fae140", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30745, + "line": 1015, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30787, + "line": 1016, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51fae090", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30749, + "line": 1015, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30754, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fae078", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30751, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30751, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fae058", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30751, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30751, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51facd30", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30749, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30749, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fae040", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30754, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 30754, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51facd50", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30754, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 30754, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"vcom_cds\"" + } + ] + } + ] + }, + { + "id": "0x558a51fae130", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30774, + "line": 1016, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30787, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51fae100", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30781, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30787, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c458", + "kind": "EnumConstantDecl", + "name": "VCOM_CDS", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51faf570", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30801, + "line": 1017, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30846, + "line": 1018, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51faf4c0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30805, + "line": 1017, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30810, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51faf4a8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30807, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30807, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51faf488", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30807, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30807, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fae160", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30805, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30805, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51faf470", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30810, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 30810, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fae180", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30810, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 30810, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char[12]" + }, + "valueCategory": "lvalue", + "value": "\"vref_rstore\"" + } + ] + } + ] + }, + { + "id": "0x558a51faf560", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30833, + "line": 1018, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30846, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51faf530", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30840, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30846, + "col": 22, + "tokLen": 11 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c4b0", + "kind": "EnumConstantDecl", + "name": "VREF_RSTORE", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fb09a0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30863, + "line": 1019, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30907, + "line": 1020, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51fb08f0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30867, + "line": 1019, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30872, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fb08d8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30869, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30869, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fb08b8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30869, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30869, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51faf590", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30867, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30867, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fb08a0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30872, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 30872, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51faf5b0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30872, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 30872, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char[11]" + }, + "valueCategory": "lvalue", + "value": "\"vb_opa_1st\"" + } + ] + } + ] + }, + { + "id": "0x558a51fb0990", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30894, + "line": 1020, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30907, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51fb0960", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30901, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30907, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c508", + "kind": "EnumConstantDecl", + "name": "VB_OPA_1ST", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fb1dd0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30923, + "line": 1021, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30969, + "line": 1022, + "col": 22, + "tokLen": 12 + } + }, + "inner": [ + { + "id": "0x558a51fb1d20", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30927, + "line": 1021, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30932, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fb1d08", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30929, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30929, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fb1ce8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30929, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30929, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fb09c0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30927, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30927, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fb1cd0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30932, + "col": 14, + "tokLen": 14 + }, + "end": { + "offset": 30932, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fb09e0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30932, + "col": 14, + "tokLen": 14 + }, + "end": { + "offset": 30932, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "const char[13]" + }, + "valueCategory": "lvalue", + "value": "\"vref_comp_fe\"" + } + ] + } + ] + }, + { + "id": "0x558a51fb1dc0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30956, + "line": 1022, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30969, + "col": 22, + "tokLen": 12 + } + }, + "inner": [ + { + "id": "0x558a51fb1d90", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30963, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30969, + "col": 22, + "tokLen": 12 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c560", + "kind": "EnumConstantDecl", + "name": "VREF_COMP_FE", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fb3200", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30987, + "line": 1023, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31030, + "line": 1024, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fb3150", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30991, + "line": 1023, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30996, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fb3138", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30993, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30993, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fb3118", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30993, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30993, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fb1df0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30991, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30991, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fb3100", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30996, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 30996, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fb1e10", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30996, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 30996, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"vcom_adc1\"" + } + ] + } + ] + }, + { + "id": "0x558a51fb31f0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31017, + "line": 1024, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31030, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fb31c0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31024, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31030, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c5b8", + "kind": "EnumConstantDecl", + "name": "VCOM_ADC1", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fb4630", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31045, + "line": 1025, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31089, + "line": 1026, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51fb4580", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31049, + "line": 1025, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31054, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fb4568", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31051, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31051, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fb4548", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31051, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31051, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fb3220", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31049, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31049, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fb4530", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31054, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 31054, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fb3240", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31054, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 31054, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char[11]" + }, + "valueCategory": "lvalue", + "value": "\"vref_l_adc\"" + } + ] + } + ] + }, + { + "id": "0x558a51fb4620", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31076, + "line": 1026, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31089, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51fb45f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31083, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31089, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c610", + "kind": "EnumConstantDecl", + "name": "VREF_L_ADC", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fb5a60", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31105, + "line": 1027, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31147, + "line": 1028, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51fb59b0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31109, + "line": 1027, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31114, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fb5998", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31111, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31111, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fb5978", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31111, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31111, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fb4650", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31109, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31109, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fb5960", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31114, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 31114, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fb4670", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31114, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 31114, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"vref_cds\"" + } + ] + } + ] + }, + { + "id": "0x558a51fb5a50", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31134, + "line": 1028, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31147, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51fb5a20", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31141, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31147, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c668", + "kind": "EnumConstantDecl", + "name": "VREF_CDS", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fb6e90", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31161, + "line": 1029, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31200, + "line": 1030, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51fb6de0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31165, + "line": 1029, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31170, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fb6dc8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31167, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31167, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fb6da8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31167, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31167, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fb5a80", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31165, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31165, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fb6d90", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31170, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 31170, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fb5aa0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31170, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 31170, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"vb_cs\"" + } + ] + } + ] + }, + { + "id": "0x558a51fb6e80", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31187, + "line": 1030, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31200, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51fb6e50", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31194, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31200, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c6c0", + "kind": "EnumConstantDecl", + "name": "VB_CS", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fb82c0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31211, + "line": 1031, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31254, + "line": 1032, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fb8210", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31215, + "line": 1031, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31220, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fb81f8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31217, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31217, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fb81d8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31217, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31217, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fb6eb0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31215, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31215, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fb81c0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31220, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 31220, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fb6ed0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31220, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 31220, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"vb_opa_fd\"" + } + ] + } + ] + }, + { + "id": "0x558a51fb82b0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31241, + "line": 1032, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31254, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fb8280", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31248, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31254, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c718", + "kind": "EnumConstantDecl", + "name": "VB_OPA_FD", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fb96f0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31269, + "line": 1033, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31312, + "line": 1034, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fb9640", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31273, + "line": 1033, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31278, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fb9628", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31275, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31275, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fb9608", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31275, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31275, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fb82e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31273, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31273, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fb95f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31278, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 31278, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fb8300", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31278, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 31278, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"vcom_adc2\"" + } + ] + } + ] + }, + { + "id": "0x558a51fb96e0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31299, + "line": 1034, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31312, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fb96b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31306, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31312, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c770", + "kind": "EnumConstantDecl", + "name": "VCOM_ADC2", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fbab20", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31327, + "line": 1035, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31367, + "line": 1036, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51fbaa70", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31331, + "line": 1035, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31336, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fbaa58", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31333, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31333, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fbaa38", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31333, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31333, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fb9710", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31331, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31331, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fbaa20", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31336, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 31336, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fb9730", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31336, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 31336, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"vcassh\"" + } + ] + } + ] + }, + { + "id": "0x558a51fbab10", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31354, + "line": 1036, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31367, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51fbaae0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31361, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31367, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c7c8", + "kind": "EnumConstantDecl", + "name": "VCASSH", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fbbf50", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31379, + "line": 1037, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31417, + "line": 1038, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51fbbea0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31383, + "line": 1037, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31388, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fbbe88", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31385, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31385, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fbbe68", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31385, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31385, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fbab40", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31383, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31383, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fbbe50", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31388, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 31388, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fbab60", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31388, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 31388, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char[5]" + }, + "valueCategory": "lvalue", + "value": "\"vth2\"" + } + ] + } + ] + }, + { + "id": "0x558a51fbbf40", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31404, + "line": 1038, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31417, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51fbbf10", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31411, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31417, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c820", + "kind": "EnumConstantDecl", + "name": "VTH2", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fbd380", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31427, + "line": 1039, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31471, + "line": 1040, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51fbd2d0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31431, + "line": 1039, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31436, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fbd2b8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31433, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31433, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fbd298", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31433, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31433, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fbbf70", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31431, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31431, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fbd280", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31436, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 31436, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fbbf90", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31436, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 31436, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char[11]" + }, + "valueCategory": "lvalue", + "value": "\"vrshaper_n\"" + } + ] + } + ] + }, + { + "id": "0x558a51fbd370", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31458, + "line": 1040, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31471, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51fbd340", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31465, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31471, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c878", + "kind": "EnumConstantDecl", + "name": "VRSHAPER_N", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fbe7b0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31487, + "line": 1041, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31530, + "line": 1042, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fbe700", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31491, + "line": 1041, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31496, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fbe6e8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31493, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31493, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fbe6c8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31493, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31493, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fbd3a0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31491, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31491, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fbe6b0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31496, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 31496, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fbd3c0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31496, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 31496, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"vipre_out\"" + } + ] + } + ] + }, + { + "id": "0x558a51fbe7a0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31517, + "line": 1042, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31530, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fbe770", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31524, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31530, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c8d0", + "kind": "EnumConstantDecl", + "name": "VIPRE_OUT", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fbfbe0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31545, + "line": 1043, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31583, + "line": 1044, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51fbfb30", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31549, + "line": 1043, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31554, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fbfb18", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31551, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31551, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fbfaf8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31551, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31551, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fbe7d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31549, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31549, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fbfae0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31554, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 31554, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fbe7f0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31554, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 31554, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char[5]" + }, + "valueCategory": "lvalue", + "value": "\"vth3\"" + } + ] + } + ] + }, + { + "id": "0x558a51fbfbd0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31570, + "line": 1044, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31583, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51fbfba0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31577, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31583, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c928", + "kind": "EnumConstantDecl", + "name": "VTH3", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fc1010", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31593, + "line": 1045, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31631, + "line": 1046, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51fc0f60", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31597, + "line": 1045, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31602, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fc0f48", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31599, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31599, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fc0f28", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31599, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31599, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fbfc00", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31597, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31597, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fc0f10", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31602, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 31602, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fbfc20", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31602, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 31602, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char[5]" + }, + "valueCategory": "lvalue", + "value": "\"vth1\"" + } + ] + } + ] + }, + { + "id": "0x558a51fc1000", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31618, + "line": 1046, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31631, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51fc0fd0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31625, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31631, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c980", + "kind": "EnumConstantDecl", + "name": "VTH1", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fc2440", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31641, + "line": 1047, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31680, + "line": 1048, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51fc2390", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31645, + "line": 1047, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31650, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fc2378", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31647, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31647, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fc2358", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31647, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31647, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fc1030", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31645, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31645, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fc2340", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31650, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 31650, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fc1050", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31650, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 31650, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"vicin\"" + } + ] + } + ] + }, + { + "id": "0x558a51fc2430", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31667, + "line": 1048, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31680, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51fc2400", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31674, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31680, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c9d8", + "kind": "EnumConstantDecl", + "name": "VICIN", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fc3870", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31691, + "line": 1049, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31729, + "line": 1050, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51fc37c0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31695, + "line": 1049, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31700, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fc37a8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31697, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31697, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fc3788", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31697, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31697, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fc2460", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31695, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31695, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fc3770", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31700, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 31700, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fc2480", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31700, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 31700, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char[5]" + }, + "valueCategory": "lvalue", + "value": "\"vcas\"" + } + ] + } + ] + }, + { + "id": "0x558a51fc3860", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31716, + "line": 1050, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31729, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51fc3830", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31723, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31729, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152ca30", + "kind": "EnumConstantDecl", + "name": "VCAS", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fc4ca0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31739, + "line": 1051, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31779, + "line": 1052, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51fc4bf0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31743, + "line": 1051, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31748, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fc4bd8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31745, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31745, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fc4bb8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31745, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31745, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fc3890", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31743, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31743, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fc4ba0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31748, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 31748, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fc38b0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31748, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 31748, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"vcal_n\"" + } + ] + } + ] + }, + { + "id": "0x558a51fc4c90", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31766, + "line": 1052, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31779, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51fc4c60", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31773, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31779, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152ca88", + "kind": "EnumConstantDecl", + "name": "VCAL_N", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fc60d0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31791, + "line": 1053, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31830, + "line": 1054, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51fc6020", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31795, + "line": 1053, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31800, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fc6008", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31797, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31797, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fc5fe8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31797, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31797, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fc4cc0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31795, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31795, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fc5fd0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31800, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 31800, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fc4ce0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31800, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 31800, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"vipre\"" + } + ] + } + ] + }, + { + "id": "0x558a51fc60c0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31817, + "line": 1054, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31830, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51fc6090", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31824, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31830, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152cae0", + "kind": "EnumConstantDecl", + "name": "VIPRE", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fc7530", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31841, + "line": 1055, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31881, + "line": 1056, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51fc7480", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31845, + "line": 1055, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31850, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fc7468", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31847, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31847, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fc7448", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31847, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31847, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fc60f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31845, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31845, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fc7430", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31850, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 31850, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fc6110", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31850, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 31850, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"vcal_p\"" + } + ] + } + ] + }, + { + "id": "0x558a51fc7520", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31868, + "line": 1056, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31881, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51fc74f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31875, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31881, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152cb38", + "kind": "EnumConstantDecl", + "name": "VCAL_P", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fc8960", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31893, + "line": 1057, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31932, + "line": 1058, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51fc88b0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31897, + "line": 1057, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31902, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fc8898", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31899, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31899, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fc8878", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31899, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31899, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fc7550", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31897, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31897, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fc8860", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31902, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 31902, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fc7570", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31902, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 31902, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"vdcsh\"" + } + ] + } + ] + }, + { + "id": "0x558a51fc8950", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31919, + "line": 1058, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31932, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51fc8920", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31926, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31932, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152cb90", + "kind": "EnumConstantDecl", + "name": "VDCSH", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fc9d90", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31943, + "line": 1059, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31987, + "line": 1060, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51fc9ce0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31947, + "line": 1059, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31952, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fc9cc8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31949, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31949, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fc9ca8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31949, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31949, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fc8980", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31947, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31947, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fc9c90", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31952, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 31952, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fc89a0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31952, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 31952, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char[11]" + }, + "valueCategory": "lvalue", + "value": "\"vbp_colbuf\"" + } + ] + } + ] + }, + { + "id": "0x558a51fc9d80", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31974, + "line": 1060, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31987, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51fc9d50", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31981, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31987, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152cbe8", + "kind": "EnumConstantDecl", + "name": "VBP_COLBUF", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fcb1c0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 32003, + "line": 1061, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 32043, + "line": 1062, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51fcb110", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 32007, + "line": 1061, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32012, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fcb0f8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32009, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32009, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fcb0d8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32009, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32009, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fc9db0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32007, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32007, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fcb0c0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32012, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 32012, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fc9dd0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 32012, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 32012, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"vb_sda\"" + } + ] + } + ] + }, + { + "id": "0x558a51fcb1b0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 32030, + "line": 1062, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 32043, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51fcb180", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32037, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 32043, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152cc40", + "kind": "EnumConstantDecl", + "name": "VB_SDA", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fcc5f0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 32055, + "line": 1063, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 32098, + "line": 1064, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fcc540", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 32059, + "line": 1063, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32064, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fcc528", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32061, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32061, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fcc508", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32061, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32061, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fcb1e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32059, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32059, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fcc4f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32064, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 32064, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fcb200", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 32064, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 32064, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"vcasc_sfp\"" + } + ] + } + ] + }, + { + "id": "0x558a51fcc5e0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 32085, + "line": 1064, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 32098, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fcc5b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32092, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 32098, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152cc98", + "kind": "EnumConstantDecl", + "name": "VCASC_SFP", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fcda20", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 32113, + "line": 1065, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 32156, + "line": 1066, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fcd970", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 32117, + "line": 1065, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32122, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fcd958", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32119, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32119, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fcd938", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32119, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32119, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fcc610", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32117, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32117, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fcd920", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32122, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 32122, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fcc630", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 32122, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 32122, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"vipre_cds\"" + } + ] + } + ] + }, + { + "id": "0x558a51fcda10", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 32143, + "line": 1066, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 32156, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fcd9e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32150, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 32156, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152ccf0", + "kind": "EnumConstantDecl", + "name": "VIPRE_CDS", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fcee50", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 32171, + "line": 1067, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 32214, + "line": 1068, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fceda0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 32175, + "line": 1067, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32180, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fced88", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32177, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32177, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fced68", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32177, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32177, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fcda40", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32175, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32175, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fced50", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32180, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 32180, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fcda60", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 32180, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 32180, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"ibias_sfp\"" + } + ] + } + ] + }, + { + "id": "0x558a51fcee40", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 32201, + "line": 1068, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 32214, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fcee10", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32208, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 32214, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152cd48", + "kind": "EnumConstantDecl", + "name": "IBIAS_SFP", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fd0280", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 32229, + "line": 1069, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 32271, + "line": 1070, + "col": 22, + "tokLen": 12 + } + }, + "inner": [ + { + "id": "0x558a51fd01d0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 32233, + "line": 1069, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32238, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fd01b8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32235, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32235, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fd0198", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32235, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32235, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fcee70", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32233, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32233, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fd0180", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32238, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 32238, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fcee90", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 32238, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 32238, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"trimbits\"" + } + ] + } + ] + }, + { + "id": "0x558a51fd0270", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 32258, + "line": 1070, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 32271, + "col": 22, + "tokLen": 12 + } + }, + "inner": [ + { + "id": "0x558a51fd0240", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32265, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 32271, + "col": 22, + "tokLen": 12 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152d168", + "kind": "EnumConstantDecl", + "name": "TRIMBIT_SCAN", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fd16b0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 32289, + "line": 1071, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 32334, + "line": 1072, + "col": 22, + "tokLen": 12 + } + }, + "inner": [ + { + "id": "0x558a51fd1600", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 32293, + "line": 1071, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32298, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fd15e8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32295, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32295, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fd15c8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32295, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32295, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fd02a0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32293, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32293, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fd15b0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32298, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 32298, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fd02c0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 32298, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 32298, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char[12]" + }, + "valueCategory": "lvalue", + "value": "\"highvoltage\"" + } + ] + } + ] + }, + { + "id": "0x558a51fd16a0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 32321, + "line": 1072, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 32334, + "col": 22, + "tokLen": 12 + } + }, + "inner": [ + { + "id": "0x558a51fd1670", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32328, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 32334, + "col": 22, + "tokLen": 12 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152cdf8", + "kind": "EnumConstantDecl", + "name": "HIGH_VOLTAGE", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fd2ae0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 32352, + "line": 1073, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 32393, + "line": 1074, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51fd2a30", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 32356, + "line": 1073, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32361, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fd2a18", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32358, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32358, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fd29f8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32358, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32358, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fd16d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32356, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32356, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fd29e0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32361, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 32361, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fd16f0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 32361, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 32361, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char[8]" + }, + "valueCategory": "lvalue", + "value": "\"iodelay\"" + } + ] + } + ] + }, + { + "id": "0x558a51fd2ad0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 32380, + "line": 1074, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 32393, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51fd2aa0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32387, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 32393, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152bf88", + "kind": "EnumConstantDecl", + "name": "IO_DELAY", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fd3f10", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 32407, + "line": 1075, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 32449, + "line": 1076, + "col": 22, + "tokLen": 15 + } + }, + "inner": [ + { + "id": "0x558a51fd3e60", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 32411, + "line": 1075, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32416, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fd3e48", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32413, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32413, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fd3e28", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32413, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32413, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fd2b00", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32411, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32411, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fd3e10", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32416, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 32416, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fd2b20", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 32416, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 32416, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"temp_adc\"" + } + ] + } + ] + }, + { + "id": "0x558a51fd3f00", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 32436, + "line": 1076, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 32449, + "col": 22, + "tokLen": 15 + } + }, + "inner": [ + { + "id": "0x558a51fd3ed0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32443, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 32449, + "col": 22, + "tokLen": 15 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152ce50", + "kind": "EnumConstantDecl", + "name": "TEMPERATURE_ADC", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fd5340", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 32470, + "line": 1077, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 32513, + "line": 1078, + "col": 22, + "tokLen": 16 + } + }, + "inner": [ + { + "id": "0x558a51fd5290", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 32474, + "line": 1077, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32479, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fd5278", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32476, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32476, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fd5258", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32476, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32476, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fd3f30", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32474, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32474, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fd5240", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32479, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 32479, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fd3f50", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 32479, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 32479, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"temp_fpga\"" + } + ] + } + ] + }, + { + "id": "0x558a51fd5330", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 32500, + "line": 1078, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 32513, + "col": 22, + "tokLen": 16 + } + }, + "inner": [ + { + "id": "0x558a51fd5300", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32507, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 32513, + "col": 22, + "tokLen": 16 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152cea8", + "kind": "EnumConstantDecl", + "name": "TEMPERATURE_FPGA", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fd6770", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 32535, + "line": 1079, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 32581, + "line": 1080, + "col": 22, + "tokLen": 19 + } + }, + "inner": [ + { + "id": "0x558a51fd66c0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 32539, + "line": 1079, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32544, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fd66a8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32541, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32541, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fd6688", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32541, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32541, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fd5360", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32539, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32539, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fd6670", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32544, + "col": 14, + "tokLen": 14 + }, + "end": { + "offset": 32544, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fd5380", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 32544, + "col": 14, + "tokLen": 14 + }, + "end": { + "offset": 32544, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "const char[13]" + }, + "valueCategory": "lvalue", + "value": "\"temp_fpgaext\"" + } + ] + } + ] + }, + { + "id": "0x558a51fd6760", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 32568, + "line": 1080, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 32581, + "col": 22, + "tokLen": 19 + } + }, + "inner": [ + { + "id": "0x558a51fd6730", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32575, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 32581, + "col": 22, + "tokLen": 19 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152cf00", + "kind": "EnumConstantDecl", + "name": "TEMPERATURE_FPGAEXT", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fd7ba0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 32606, + "line": 1081, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 32649, + "line": 1082, + "col": 22, + "tokLen": 16 + } + }, + "inner": [ + { + "id": "0x558a51fd7af0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 32610, + "line": 1081, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32615, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fd7ad8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32612, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32612, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fd7ab8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32612, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32612, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fd6790", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32610, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32610, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fd7aa0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32615, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 32615, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fd67b0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 32615, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 32615, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"temp_10ge\"" + } + ] + } + ] + }, + { + "id": "0x558a51fd7b90", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 32636, + "line": 1082, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 32649, + "col": 22, + "tokLen": 16 + } + }, + "inner": [ + { + "id": "0x558a51fd7b60", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32643, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 32649, + "col": 22, + "tokLen": 16 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152cf58", + "kind": "EnumConstantDecl", + "name": "TEMPERATURE_10GE", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fd8fd0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 32671, + "line": 1083, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 32714, + "line": 1084, + "col": 22, + "tokLen": 16 + } + }, + "inner": [ + { + "id": "0x558a51fd8f20", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 32675, + "line": 1083, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32680, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fd8f08", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32677, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32677, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fd8ee8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32677, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32677, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fd7bc0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32675, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32675, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fd8ed0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32680, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 32680, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fd7be0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 32680, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 32680, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"temp_dcdc\"" + } + ] + } + ] + }, + { + "id": "0x558a51fd8fc0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 32701, + "line": 1084, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 32714, + "col": 22, + "tokLen": 16 + } + }, + "inner": [ + { + "id": "0x558a51fd8f90", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32708, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 32714, + "col": 22, + "tokLen": 16 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152cfb0", + "kind": "EnumConstantDecl", + "name": "TEMPERATURE_DCDC", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fda400", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 32736, + "line": 1085, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 32779, + "line": 1086, + "col": 22, + "tokLen": 16 + } + }, + "inner": [ + { + "id": "0x558a51fda350", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 32740, + "line": 1085, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32745, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fda338", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32742, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32742, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fda318", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32742, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32742, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fd8ff0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32740, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32740, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fda300", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32745, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 32745, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fd9010", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 32745, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 32745, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"temp_sodl\"" + } + ] + } + ] + }, + { + "id": "0x558a51fda3f0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 32766, + "line": 1086, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 32779, + "col": 22, + "tokLen": 16 + } + }, + "inner": [ + { + "id": "0x558a51fda3c0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32773, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 32779, + "col": 22, + "tokLen": 16 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152d008", + "kind": "EnumConstantDecl", + "name": "TEMPERATURE_SODL", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fdb830", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 32801, + "line": 1087, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 32844, + "line": 1088, + "col": 22, + "tokLen": 16 + } + }, + "inner": [ + { + "id": "0x558a51fdb780", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 32805, + "line": 1087, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32810, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fdb768", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32807, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32807, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fdb748", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32807, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32807, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fda420", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32805, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32805, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fdb730", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32810, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 32810, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fda440", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 32810, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 32810, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"temp_sodr\"" + } + ] + } + ] + }, + { + "id": "0x558a51fdb820", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 32831, + "line": 1088, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 32844, + "col": 22, + "tokLen": 16 + } + }, + "inner": [ + { + "id": "0x558a51fdb7f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32838, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 32844, + "col": 22, + "tokLen": 16 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152d060", + "kind": "EnumConstantDecl", + "name": "TEMPERATURE_SODR", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fdcc60", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 32866, + "line": 1089, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 32911, + "line": 1090, + "col": 22, + "tokLen": 17 + } + }, + "inner": [ + { + "id": "0x558a51fdcbb0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 32870, + "line": 1089, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32875, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fdcb98", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32872, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32872, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fdcb78", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32872, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32872, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fdb850", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32870, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32870, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fdcb60", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32875, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 32875, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fdb870", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 32875, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 32875, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char[12]" + }, + "valueCategory": "lvalue", + "value": "\"temp_fpgafl\"" + } + ] + } + ] + }, + { + "id": "0x558a51fdcc50", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 32898, + "line": 1090, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 32911, + "col": 22, + "tokLen": 17 + } + }, + "inner": [ + { + "id": "0x558a51fdcc20", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32905, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 32911, + "col": 22, + "tokLen": 17 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152d0b8", + "kind": "EnumConstantDecl", + "name": "TEMPERATURE_FPGA2", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fde090", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 32934, + "line": 1091, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 32979, + "line": 1092, + "col": 22, + "tokLen": 17 + } + }, + "inner": [ + { + "id": "0x558a51fddfe0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 32938, + "line": 1091, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32943, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fddfc8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32940, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32940, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fddfa8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32940, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32940, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fdcc80", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32938, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32938, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fddf90", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32943, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 32943, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fdcca0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 32943, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 32943, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char[12]" + }, + "valueCategory": "lvalue", + "value": "\"temp_fpgafr\"" + } + ] + } + ] + }, + { + "id": "0x558a51fde080", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 32966, + "line": 1092, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 32979, + "col": 22, + "tokLen": 17 + } + }, + "inner": [ + { + "id": "0x558a51fde050", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32973, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 32979, + "col": 22, + "tokLen": 17 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152d110", + "kind": "EnumConstantDecl", + "name": "TEMPERATURE_FPGA3", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fdf4c0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 33002, + "line": 1093, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 33048, + "line": 1094, + "col": 22, + "tokLen": 13 + } + }, + "inner": [ + { + "id": "0x558a51fdf410", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 33006, + "line": 1093, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33011, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fdf3f8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33008, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33008, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fdf3d8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33008, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33008, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fde0b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33006, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33006, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fdf3c0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33011, + "col": 14, + "tokLen": 14 + }, + "end": { + "offset": 33011, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fde0d0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 33011, + "col": 14, + "tokLen": 14 + }, + "end": { + "offset": 33011, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "const char[13]" + }, + "valueCategory": "lvalue", + "value": "\"temp_slowadc\"" + } + ] + } + ] + }, + { + "id": "0x558a51fdf4b0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 33035, + "line": 1094, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 33048, + "col": 22, + "tokLen": 13 + } + }, + "inner": [ + { + "id": "0x558a51fdf480", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33042, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 33048, + "col": 22, + "tokLen": 13 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152d4c0", + "kind": "EnumConstantDecl", + "name": "SLOW_ADC_TEMP", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fdfae8", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 33067, + "line": 1095, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 33110, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51fdfad0", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 33067, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 33110, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51fdfaa8", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 33073, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 33110, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a51fdfa88", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 33073, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 33110, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51fdfa80", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51fdfa50", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 33073, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 33110, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51fdfa38", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 33086, + "col": 24, + "tokLen": 20 + }, + "end": { + "offset": 33109, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a51fdfa20", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33086, + "col": 24, + "tokLen": 20 + }, + "end": { + "offset": 33109, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51fdfa00", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 33086, + "col": 24, + "tokLen": 20 + }, + "end": { + "offset": 33109, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a51fdf9f8", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51fdf9c0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 33086, + "col": 24, + "tokLen": 20 + }, + "end": { + "offset": 33109, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fdf9a8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33107, + "col": 45, + "tokLen": 1 + }, + "end": { + "offset": 33107, + "col": 45, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fdf988", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33107, + "col": 45, + "tokLen": 1 + }, + "end": { + "offset": 33107, + "col": 45, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a51fdf970", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33086, + "col": 24, + "tokLen": 20 + }, + "end": { + "offset": 33086, + "col": 24, + "tokLen": 20 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fdf4f0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 33086, + "col": 24, + "tokLen": 20 + }, + "end": { + "offset": 33086, + "col": 24, + "tokLen": 20 + } + }, + "type": { + "qualType": "const char[19]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown dac Index \"" + } + ] + }, + { + "id": "0x558a51fdf520", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33109, + "col": 47, + "tokLen": 1 + }, + "end": { + "offset": 33109, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} +{ + "id": "0x558a51fdff60", + "kind": "FunctionDecl", + "loc": { + "offset": 33145, + "file": "ToString.cpp", + "line": 1098, + "col": 30, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 33116, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 33550, + "line": 1112, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bbccb0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs10powerIndexEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::powerIndex (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::powerIndex" + }, + "inner": [ + { + "id": "0x558a5152d5d0", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::powerIndex" + }, + "decl": { + "id": "0x558a5152d530", + "kind": "EnumDecl", + "name": "powerIndex" + } + } + ] + }, + { + "id": "0x558a51fdfe88", + "kind": "ParmVarDecl", + "loc": { + "offset": 33173, + "line": 1098, + "col": 58, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 33154, + "col": 39, + "tokLen": 5 + }, + "end": { + "offset": 33173, + "col": 58, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51fe8090", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 33176, + "col": 61, + "tokLen": 1 + }, + "end": { + "offset": 33550, + "line": 1112, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51fe1550", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 33182, + "line": 1099, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 33219, + "line": 1100, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fe14a0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 33186, + "line": 1099, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33191, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fe1488", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33188, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33188, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fe1468", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33188, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33188, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fe0148", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33186, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33186, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51fdfe88", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fe1450", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33191, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 33191, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fe0168", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 33191, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 33191, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char[4]" + }, + "valueCategory": "lvalue", + "value": "\"v_a\"" + } + ] + } + ] + }, + { + "id": "0x558a51fe1540", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 33206, + "line": 1100, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 33219, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fe1510", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33213, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 33219, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::powerIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152d5f0", + "kind": "EnumConstantDecl", + "name": "V_POWER_A", + "type": { + "qualType": "slsDetectorDefs::powerIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fe2980", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 33234, + "line": 1101, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 33271, + "line": 1102, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fe28d0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 33238, + "line": 1101, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33243, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fe28b8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33240, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33240, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fe2898", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33240, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33240, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fe1570", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33238, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33238, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51fdfe88", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fe2880", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33243, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 33243, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fe1590", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 33243, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 33243, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char[4]" + }, + "valueCategory": "lvalue", + "value": "\"v_b\"" + } + ] + } + ] + }, + { + "id": "0x558a51fe2970", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 33258, + "line": 1102, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 33271, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fe2940", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33265, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 33271, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::powerIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152d648", + "kind": "EnumConstantDecl", + "name": "V_POWER_B", + "type": { + "qualType": "slsDetectorDefs::powerIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fe3db0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 33286, + "line": 1103, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 33323, + "line": 1104, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fe3d00", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 33290, + "line": 1103, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33295, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fe3ce8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33292, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33292, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fe3cc8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33292, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33292, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fe29a0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33290, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33290, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51fdfe88", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fe3cb0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33295, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 33295, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fe29c0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 33295, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 33295, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char[4]" + }, + "valueCategory": "lvalue", + "value": "\"v_c\"" + } + ] + } + ] + }, + { + "id": "0x558a51fe3da0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 33310, + "line": 1104, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 33323, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fe3d70", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33317, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 33323, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::powerIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152d6a0", + "kind": "EnumConstantDecl", + "name": "V_POWER_C", + "type": { + "qualType": "slsDetectorDefs::powerIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fe51e0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 33338, + "line": 1105, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 33375, + "line": 1106, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fe5130", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 33342, + "line": 1105, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33347, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fe5118", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33344, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33344, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fe50f8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33344, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33344, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fe3dd0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33342, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33342, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51fdfe88", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fe50e0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33347, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 33347, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fe3df0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 33347, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 33347, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char[4]" + }, + "valueCategory": "lvalue", + "value": "\"v_d\"" + } + ] + } + ] + }, + { + "id": "0x558a51fe51d0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 33362, + "line": 1106, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 33375, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fe51a0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33369, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 33375, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::powerIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152d6f8", + "kind": "EnumConstantDecl", + "name": "V_POWER_D", + "type": { + "qualType": "slsDetectorDefs::powerIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fe6620", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 33390, + "line": 1107, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 33428, + "line": 1108, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51fe6570", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 33394, + "line": 1107, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33399, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fe6558", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33396, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33396, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fe6538", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33396, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33396, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fe5200", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33394, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33394, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51fdfe88", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fe6520", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33399, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 33399, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fe5220", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 33399, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 33399, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char[5]" + }, + "valueCategory": "lvalue", + "value": "\"v_io\"" + } + ] + } + ] + }, + { + "id": "0x558a51fe6610", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 33415, + "line": 1108, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 33428, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51fe65e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33422, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 33428, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::powerIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152d750", + "kind": "EnumConstantDecl", + "name": "V_POWER_IO", + "type": { + "qualType": "slsDetectorDefs::powerIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fe7a50", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 33444, + "line": 1109, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 33484, + "line": 1110, + "col": 22, + "tokLen": 12 + } + }, + "inner": [ + { + "id": "0x558a51fe79a0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 33448, + "line": 1109, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33453, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fe7988", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33450, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33450, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fe7968", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33450, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33450, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fe6640", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33448, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33448, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51fdfe88", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fe7950", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33453, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 33453, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fe6660", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 33453, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 33453, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"v_chip\"" + } + ] + } + ] + }, + { + "id": "0x558a51fe7a40", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 33471, + "line": 1110, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 33484, + "col": 22, + "tokLen": 12 + } + }, + "inner": [ + { + "id": "0x558a51fe7a10", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33478, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 33484, + "col": 22, + "tokLen": 12 + } + }, + "type": { + "qualType": "slsDetectorDefs::powerIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152d7a8", + "kind": "EnumConstantDecl", + "name": "V_POWER_CHIP", + "type": { + "qualType": "slsDetectorDefs::powerIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fe8078", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 33502, + "line": 1111, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 33547, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51fe8060", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 33502, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 33547, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51fe8038", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 33508, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 33547, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a51fe8018", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 33508, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 33547, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51fe8010", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51fe7fe0", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 33508, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 33547, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51fe7fc8", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 33521, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 33546, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a51fe7fb0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33521, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 33546, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51fe7f90", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 33521, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 33546, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a51fe7f88", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51fe7f50", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 33521, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 33546, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fe7f38", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33544, + "col": 47, + "tokLen": 1 + }, + "end": { + "offset": 33544, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fe7f18", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33544, + "col": 47, + "tokLen": 1 + }, + "end": { + "offset": 33544, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a51fe7f00", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33521, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 33521, + "col": 24, + "tokLen": 22 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fe7a80", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 33521, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 33521, + "col": 24, + "tokLen": 22 + } + }, + "type": { + "qualType": "const char[21]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown power Index \"" + } + ] + }, + { + "id": "0x558a51fe7ab0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33546, + "col": 49, + "tokLen": 1 + }, + "end": { + "offset": 33546, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51fdfe88", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} +{ + "id": "0x558a51fe8260", + "kind": "FunctionDecl", + "loc": { + "offset": 33581, + "file": "ToString.cpp", + "line": 1114, + "col": 29, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 33553, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 33941, + "line": 1124, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bbd240", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs9burstModeEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::burstMode (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::burstMode" + }, + "inner": [ + { + "id": "0x558a5152eaf0", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::burstMode" + }, + "decl": { + "id": "0x558a5152ea48", + "kind": "EnumDecl", + "name": "burstMode" + } + } + ] + }, + { + "id": "0x558a51fe8188", + "kind": "ParmVarDecl", + "loc": { + "offset": 33609, + "line": 1114, + "col": 57, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 33590, + "col": 38, + "tokLen": 5 + }, + "end": { + "offset": 33609, + "col": 57, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51fedb30", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 33612, + "col": 60, + "tokLen": 1 + }, + "end": { + "offset": 33941, + "line": 1124, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51fe9860", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 33618, + "line": 1115, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 33666, + "line": 1116, + "col": 22, + "tokLen": 14 + } + }, + "inner": [ + { + "id": "0x558a51fe97b0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 33622, + "line": 1115, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33627, + "col": 14, + "tokLen": 16 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fe9798", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33624, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33624, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fe9778", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33624, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33624, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fe8448", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33622, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33622, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51fe8188", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fe9760", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33627, + "col": 14, + "tokLen": 16 + }, + "end": { + "offset": 33627, + "col": 14, + "tokLen": 16 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fe8468", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 33627, + "col": 14, + "tokLen": 16 + }, + "end": { + "offset": 33627, + "col": 14, + "tokLen": 16 + } + }, + "type": { + "qualType": "const char[15]" + }, + "valueCategory": "lvalue", + "value": "\"burst_internal\"" + } + ] + } + ] + }, + { + "id": "0x558a51fe9850", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 33653, + "line": 1116, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 33666, + "col": 22, + "tokLen": 14 + } + }, + "inner": [ + { + "id": "0x558a51fe9820", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33660, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 33666, + "col": 22, + "tokLen": 14 + } + }, + "type": { + "qualType": "slsDetectorDefs::burstMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152eb10", + "kind": "EnumConstantDecl", + "name": "BURST_INTERNAL", + "type": { + "qualType": "slsDetectorDefs::burstMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51feac90", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 33686, + "line": 1117, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 33734, + "line": 1118, + "col": 22, + "tokLen": 14 + } + }, + "inner": [ + { + "id": "0x558a51feabe0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 33690, + "line": 1117, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33695, + "col": 14, + "tokLen": 16 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51feabc8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33692, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33692, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51feaba8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33692, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33692, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fe9880", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33690, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33690, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51fe8188", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51feab90", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33695, + "col": 14, + "tokLen": 16 + }, + "end": { + "offset": 33695, + "col": 14, + "tokLen": 16 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fe98a0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 33695, + "col": 14, + "tokLen": 16 + }, + "end": { + "offset": 33695, + "col": 14, + "tokLen": 16 + } + }, + "type": { + "qualType": "const char[15]" + }, + "valueCategory": "lvalue", + "value": "\"burst_external\"" + } + ] + } + ] + }, + { + "id": "0x558a51feac80", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 33721, + "line": 1118, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 33734, + "col": 22, + "tokLen": 14 + } + }, + "inner": [ + { + "id": "0x558a51feac50", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33728, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 33734, + "col": 22, + "tokLen": 14 + } + }, + "type": { + "qualType": "slsDetectorDefs::burstMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152eb68", + "kind": "EnumConstantDecl", + "name": "BURST_EXTERNAL", + "type": { + "qualType": "slsDetectorDefs::burstMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fec0c0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 33754, + "line": 1119, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 33799, + "line": 1120, + "col": 22, + "tokLen": 19 + } + }, + "inner": [ + { + "id": "0x558a51fec010", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 33758, + "line": 1119, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33763, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51febff8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33760, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33760, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51febfd8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33760, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33760, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51feacb0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33758, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33758, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51fe8188", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51febfc0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33763, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 33763, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51feacd0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 33763, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 33763, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char[12]" + }, + "valueCategory": "lvalue", + "value": "\"cw_internal\"" + } + ] + } + ] + }, + { + "id": "0x558a51fec0b0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 33786, + "line": 1120, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 33799, + "col": 22, + "tokLen": 19 + } + }, + "inner": [ + { + "id": "0x558a51fec080", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33793, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 33799, + "col": 22, + "tokLen": 19 + } + }, + "type": { + "qualType": "slsDetectorDefs::burstMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152ebc0", + "kind": "EnumConstantDecl", + "name": "CONTINUOUS_INTERNAL", + "type": { + "qualType": "slsDetectorDefs::burstMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fed4f0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 33824, + "line": 1121, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 33869, + "line": 1122, + "col": 22, + "tokLen": 19 + } + }, + "inner": [ + { + "id": "0x558a51fed440", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 33828, + "line": 1121, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33833, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fed428", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33830, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33830, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fed408", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33830, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33830, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fec0e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33828, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33828, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51fe8188", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fed3f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33833, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 33833, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fec100", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 33833, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 33833, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char[12]" + }, + "valueCategory": "lvalue", + "value": "\"cw_external\"" + } + ] + } + ] + }, + { + "id": "0x558a51fed4e0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 33856, + "line": 1122, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 33869, + "col": 22, + "tokLen": 19 + } + }, + "inner": [ + { + "id": "0x558a51fed4b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33863, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 33869, + "col": 22, + "tokLen": 19 + } + }, + "type": { + "qualType": "slsDetectorDefs::burstMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152ec18", + "kind": "EnumConstantDecl", + "name": "CONTINUOUS_EXTERNAL", + "type": { + "qualType": "slsDetectorDefs::burstMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fedb18", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 33894, + "line": 1123, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 33938, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51fedb00", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 33894, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 33938, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51fedad8", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 33900, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 33938, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a51fedab8", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 33900, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 33938, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51fedab0", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51feda80", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 33900, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 33938, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51feda68", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 33913, + "col": 24, + "tokLen": 21 + }, + "end": { + "offset": 33937, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a51feda50", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33913, + "col": 24, + "tokLen": 21 + }, + "end": { + "offset": 33937, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51feda30", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 33913, + "col": 24, + "tokLen": 21 + }, + "end": { + "offset": 33937, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a51feda28", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51fed9f0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 33913, + "col": 24, + "tokLen": 21 + }, + "end": { + "offset": 33937, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fed9d8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33935, + "col": 46, + "tokLen": 1 + }, + "end": { + "offset": 33935, + "col": 46, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fed9b8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33935, + "col": 46, + "tokLen": 1 + }, + "end": { + "offset": 33935, + "col": 46, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a51fed9a0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33913, + "col": 24, + "tokLen": 21 + }, + "end": { + "offset": 33913, + "col": 24, + "tokLen": 21 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fed520", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 33913, + "col": 24, + "tokLen": 21 + }, + "end": { + "offset": 33913, + "col": 24, + "tokLen": 21 + } + }, + "type": { + "qualType": "const char[20]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown burst mode \"" + } + ] + }, + { + "id": "0x558a51fed550", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33937, + "col": 48, + "tokLen": 1 + }, + "end": { + "offset": 33937, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51fe8188", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} +{ + "id": "0x558a51fedcf0", + "kind": "FunctionDecl", + "loc": { + "offset": 33979, + "file": "ToString.cpp", + "line": 1126, + "col": 36, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 33944, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 34197, + "line": 1132, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bbd7d0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs16timingSourceTypeEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::timingSourceType (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::timingSourceType" + }, + "inner": [ + { + "id": "0x558a5152eda0", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::timingSourceType" + }, + "decl": { + "id": "0x558a5152ecf8", + "kind": "EnumDecl", + "name": "timingSourceType" + } + } + ] + }, + { + "id": "0x558a51fedc18", + "kind": "ParmVarDecl", + "loc": { + "offset": 34007, + "line": 1126, + "col": 64, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 33988, + "col": 45, + "tokLen": 5 + }, + "end": { + "offset": 34007, + "col": 64, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51ff0d90", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 34010, + "col": 67, + "tokLen": 1 + }, + "end": { + "offset": 34197, + "line": 1132, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51fef2e0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 34016, + "line": 1127, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 34058, + "line": 1128, + "col": 22, + "tokLen": 15 + } + }, + "inner": [ + { + "id": "0x558a51fef230", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 34020, + "line": 1127, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34025, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fef218", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34022, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34022, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fef1f8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34022, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34022, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51feded8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34020, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34020, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51fedc18", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fef1e0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34025, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 34025, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fedef8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 34025, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 34025, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"internal\"" + } + ] + } + ] + }, + { + "id": "0x558a51fef2d0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 34045, + "line": 1128, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 34058, + "col": 22, + "tokLen": 15 + } + }, + "inner": [ + { + "id": "0x558a51fef2a0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34052, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 34058, + "col": 22, + "tokLen": 15 + } + }, + "type": { + "qualType": "slsDetectorDefs::timingSourceType" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152edc0", + "kind": "EnumConstantDecl", + "name": "TIMING_INTERNAL", + "type": { + "qualType": "slsDetectorDefs::timingSourceType" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51ff0710", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 34079, + "line": 1129, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 34121, + "line": 1130, + "col": 22, + "tokLen": 15 + } + }, + "inner": [ + { + "id": "0x558a51ff0660", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 34083, + "line": 1129, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34088, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51ff0648", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34085, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34085, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51ff0628", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34085, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34085, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fef300", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34083, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34083, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51fedc18", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51ff0610", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34088, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 34088, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fef320", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 34088, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 34088, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"external\"" + } + ] + } + ] + }, + { + "id": "0x558a51ff0700", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 34108, + "line": 1130, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 34121, + "col": 22, + "tokLen": 15 + } + }, + "inner": [ + { + "id": "0x558a51ff06d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34115, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 34121, + "col": 22, + "tokLen": 15 + } + }, + "type": { + "qualType": "slsDetectorDefs::timingSourceType" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152ee18", + "kind": "EnumConstantDecl", + "name": "TIMING_EXTERNAL", + "type": { + "qualType": "slsDetectorDefs::timingSourceType" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51ff0d78", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 34142, + "line": 1131, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 34194, + "col": 57, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51ff0d60", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 34142, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 34194, + "col": 57, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51ff0d38", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 34148, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 34194, + "col": 57, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a51ff0d18", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 34148, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 34194, + "col": 57, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51ff0d10", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51ff0ce0", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 34148, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 34194, + "col": 57, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51ff0cc8", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 34161, + "col": 24, + "tokLen": 29 + }, + "end": { + "offset": 34193, + "col": 56, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a51ff0cb0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34161, + "col": 24, + "tokLen": 29 + }, + "end": { + "offset": 34193, + "col": 56, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51ff0c90", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 34161, + "col": 24, + "tokLen": 29 + }, + "end": { + "offset": 34193, + "col": 56, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a51ff0c88", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51ff0c50", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 34161, + "col": 24, + "tokLen": 29 + }, + "end": { + "offset": 34193, + "col": 56, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51ff0c38", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34191, + "col": 54, + "tokLen": 1 + }, + "end": { + "offset": 34191, + "col": 54, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51ff0c18", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34191, + "col": 54, + "tokLen": 1 + }, + "end": { + "offset": 34191, + "col": 54, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a51ff0c00", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34161, + "col": 24, + "tokLen": 29 + }, + "end": { + "offset": 34161, + "col": 24, + "tokLen": 29 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51ff0740", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 34161, + "col": 24, + "tokLen": 29 + }, + "end": { + "offset": 34161, + "col": 24, + "tokLen": 29 + } + }, + "type": { + "qualType": "const char[28]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown timing source type \"" + } + ] + }, + { + "id": "0x558a51ff0778", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34193, + "col": 56, + "tokLen": 1 + }, + "end": { + "offset": 34193, + "col": 56, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51fedc18", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} +{ + "id": "0x558a51ff0f40", + "kind": "FunctionDecl", + "loc": { + "offset": 34230, + "file": "ToString.cpp", + "line": 1134, + "col": 31, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 34200, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 34640, + "line": 1148, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bbdd60", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs11M3_GainCapsEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::M3_GainCaps (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::M3_GainCaps" + }, + "inner": [ + { + "id": "0x558a5152ef10", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::M3_GainCaps" + }, + "decl": { + "id": "0x558a5152ee70", + "kind": "EnumDecl", + "name": "M3_GainCaps" + } + } + ] + }, + { + "id": "0x558a51ff0e68", + "kind": "ParmVarDecl", + "loc": { + "offset": 34258, + "line": 1134, + "col": 59, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 34239, + "col": 40, + "tokLen": 5 + }, + "end": { + "offset": 34258, + "col": 59, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51ff9060", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 34261, + "col": 62, + "tokLen": 1 + }, + "end": { + "offset": 34640, + "line": 1148, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51ff2530", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 34267, + "line": 1135, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 34307, + "line": 1136, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51ff2480", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 34271, + "line": 1135, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34276, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51ff2468", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34273, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34273, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51ff2448", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34273, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34273, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51ff1128", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34271, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34271, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ff0e68", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51ff2430", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34276, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 34276, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51ff1148", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 34276, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 34276, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"C10pre\"" + } + ] + } + ] + }, + { + "id": "0x558a51ff2520", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 34294, + "line": 1136, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 34307, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51ff24f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34301, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 34307, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::M3_GainCaps" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152efb0", + "kind": "EnumConstantDecl", + "name": "M3_C10pre", + "type": { + "qualType": "slsDetectorDefs::M3_GainCaps" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51ff3960", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 34322, + "line": 1137, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 34361, + "line": 1138, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51ff38b0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 34326, + "line": 1137, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34331, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51ff3898", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34328, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34328, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51ff3878", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34328, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34328, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51ff2550", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34326, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34326, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ff0e68", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51ff3860", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34331, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 34331, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51ff2570", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 34331, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 34331, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"C15sh\"" + } + ] + } + ] + }, + { + "id": "0x558a51ff3950", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 34348, + "line": 1138, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 34361, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51ff3920", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34355, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 34361, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::M3_GainCaps" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152f088", + "kind": "EnumConstantDecl", + "name": "M3_C15sh", + "type": { + "qualType": "slsDetectorDefs::M3_GainCaps" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51ff4d90", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 34375, + "line": 1139, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 34414, + "line": 1140, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51ff4ce0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 34379, + "line": 1139, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34384, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51ff4cc8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34381, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34381, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51ff4ca8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34381, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34381, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51ff3980", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34379, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34379, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ff0e68", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51ff4c90", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34384, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 34384, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51ff39a0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 34384, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 34384, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"C30sh\"" + } + ] + } + ] + }, + { + "id": "0x558a51ff4d80", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 34401, + "line": 1140, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 34414, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51ff4d50", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34408, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 34414, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::M3_GainCaps" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152f160", + "kind": "EnumConstantDecl", + "name": "M3_C30sh", + "type": { + "qualType": "slsDetectorDefs::M3_GainCaps" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51ff61c0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 34428, + "line": 1141, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 34467, + "line": 1142, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51ff6110", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 34432, + "line": 1141, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34437, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51ff60f8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34434, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34434, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51ff60d8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34434, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34434, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51ff4db0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34432, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34432, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ff0e68", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51ff60c0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34437, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 34437, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51ff4dd0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 34437, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 34437, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"C50sh\"" + } + ] + } + ] + }, + { + "id": "0x558a51ff61b0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 34454, + "line": 1142, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 34467, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51ff6180", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34461, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 34467, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::M3_GainCaps" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152f238", + "kind": "EnumConstantDecl", + "name": "M3_C50sh", + "type": { + "qualType": "slsDetectorDefs::M3_GainCaps" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51ff75f0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 34481, + "line": 1143, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 34523, + "line": 1144, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51ff7540", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 34485, + "line": 1143, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34490, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51ff7528", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34487, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34487, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51ff7508", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34487, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34487, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51ff61e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34485, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34485, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ff0e68", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51ff74f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34490, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 34490, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51ff6200", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 34490, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 34490, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"C225ACsh\"" + } + ] + } + ] + }, + { + "id": "0x558a51ff75e0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 34510, + "line": 1144, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 34523, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51ff75b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34517, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 34523, + "col": 22, + "tokLen": 11 + } + }, + "type": { + "qualType": "slsDetectorDefs::M3_GainCaps" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152f310", + "kind": "EnumConstantDecl", + "name": "M3_C225ACsh", + "type": { + "qualType": "slsDetectorDefs::M3_GainCaps" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51ff8a20", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 34540, + "line": 1145, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 34580, + "line": 1146, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51ff8970", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 34544, + "line": 1145, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34549, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51ff8958", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34546, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34546, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51ff8938", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34546, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34546, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51ff7610", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34544, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34544, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ff0e68", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51ff8920", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34549, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 34549, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51ff7630", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 34549, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 34549, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"C15pre\"" + } + ] + } + ] + }, + { + "id": "0x558a51ff8a10", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 34567, + "line": 1146, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 34580, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51ff89e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34574, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 34580, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::M3_GainCaps" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152f3e8", + "kind": "EnumConstantDecl", + "name": "M3_C15pre", + "type": { + "qualType": "slsDetectorDefs::M3_GainCaps" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51ff9048", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 34595, + "line": 1147, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 34637, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51ff9030", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 34595, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 34637, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51ff9008", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 34601, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 34637, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a51ff8fe8", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 34601, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 34637, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51ff8fe0", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51ff8fb0", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 34601, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 34637, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51ff8f98", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 34614, + "col": 24, + "tokLen": 19 + }, + "end": { + "offset": 34636, + "col": 46, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a51ff8f80", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34614, + "col": 24, + "tokLen": 19 + }, + "end": { + "offset": 34636, + "col": 46, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51ff8f60", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 34614, + "col": 24, + "tokLen": 19 + }, + "end": { + "offset": 34636, + "col": 46, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a51ff8f58", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51ff8f20", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 34614, + "col": 24, + "tokLen": 19 + }, + "end": { + "offset": 34636, + "col": 46, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51ff8f08", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34634, + "col": 44, + "tokLen": 1 + }, + "end": { + "offset": 34634, + "col": 44, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51ff8ee8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34634, + "col": 44, + "tokLen": 1 + }, + "end": { + "offset": 34634, + "col": 44, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a51ff8ed0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34614, + "col": 24, + "tokLen": 19 + }, + "end": { + "offset": 34614, + "col": 24, + "tokLen": 19 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51ff8a50", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 34614, + "col": 24, + "tokLen": 19 + }, + "end": { + "offset": 34614, + "col": 24, + "tokLen": 19 + } + }, + "type": { + "qualType": "const char[18]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown gain cap \"" + } + ] + }, + { + "id": "0x558a51ff8a80", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34636, + "col": 46, + "tokLen": 1 + }, + "end": { + "offset": 34636, + "col": 46, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ff0e68", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} +{ + "id": "0x558a51ff9230", + "kind": "FunctionDecl", + "loc": { + "offset": 34674, + "file": "ToString.cpp", + "line": 1150, + "col": 32, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 34643, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 34957, + "line": 1160, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bbe2f0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs12portPositionEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::portPosition (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::portPosition" + }, + "inner": [ + { + "id": "0x558a5152f570", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::portPosition" + }, + "decl": { + "id": "0x558a5152f4d0", + "kind": "EnumDecl", + "name": "portPosition" + } + } + ] + }, + { + "id": "0x558a51ff9158", + "kind": "ParmVarDecl", + "loc": { + "offset": 34702, + "line": 1150, + "col": 60, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 34683, + "col": 41, + "tokLen": 5 + }, + "end": { + "offset": 34702, + "col": 60, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51ffeaf0", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 34705, + "col": 63, + "tokLen": 1 + }, + "end": { + "offset": 34957, + "line": 1160, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51ffa820", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 34711, + "line": 1151, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 34749, + "line": 1152, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51ffa770", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 34715, + "line": 1151, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34720, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51ffa758", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34717, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34717, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51ffa738", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34717, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34717, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51ff9418", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34715, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34715, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ff9158", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51ffa720", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34720, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 34720, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51ff9438", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 34720, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 34720, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char[5]" + }, + "valueCategory": "lvalue", + "value": "\"left\"" + } + ] + } + ] + }, + { + "id": "0x558a51ffa810", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 34736, + "line": 1152, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 34749, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51ffa7e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34743, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 34749, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "slsDetectorDefs::portPosition" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152f590", + "kind": "EnumConstantDecl", + "name": "LEFT", + "type": { + "qualType": "slsDetectorDefs::portPosition" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51ffbc50", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 34759, + "line": 1153, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 34798, + "line": 1154, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51ffbba0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 34763, + "line": 1153, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34768, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51ffbb88", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34765, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34765, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51ffbb68", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34765, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34765, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51ffa840", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34763, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34763, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ff9158", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51ffbb50", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34768, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 34768, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51ffa860", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 34768, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 34768, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"right\"" + } + ] + } + ] + }, + { + "id": "0x558a51ffbc40", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 34785, + "line": 1154, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 34798, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51ffbc10", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34792, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 34798, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::portPosition" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152f5e8", + "kind": "EnumConstantDecl", + "name": "RIGHT", + "type": { + "qualType": "slsDetectorDefs::portPosition" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51ffd080", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 34809, + "line": 1155, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 34846, + "line": 1156, + "col": 22, + "tokLen": 3 + } + }, + "inner": [ + { + "id": "0x558a51ffcfd0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 34813, + "line": 1155, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34818, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51ffcfb8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34815, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34815, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51ffcf98", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34815, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34815, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51ffbc70", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34813, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34813, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ff9158", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51ffcf80", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34818, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 34818, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51ffbc90", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 34818, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 34818, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char[4]" + }, + "valueCategory": "lvalue", + "value": "\"top\"" + } + ] + } + ] + }, + { + "id": "0x558a51ffd070", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 34833, + "line": 1156, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 34846, + "col": 22, + "tokLen": 3 + } + }, + "inner": [ + { + "id": "0x558a51ffd040", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34840, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 34846, + "col": 22, + "tokLen": 3 + } + }, + "type": { + "qualType": "slsDetectorDefs::portPosition" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152f640", + "kind": "EnumConstantDecl", + "name": "TOP", + "type": { + "qualType": "slsDetectorDefs::portPosition" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51ffe4b0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 34855, + "line": 1157, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 34895, + "line": 1158, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51ffe400", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 34859, + "line": 1157, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34864, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51ffe3e8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34861, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34861, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51ffe3c8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34861, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34861, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51ffd0a0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34859, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34859, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ff9158", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51ffe3b0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34864, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 34864, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51ffd0c0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 34864, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 34864, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"bottom\"" + } + ] + } + ] + }, + { + "id": "0x558a51ffe4a0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 34882, + "line": 1158, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 34895, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51ffe470", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34889, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 34895, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::portPosition" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152f698", + "kind": "EnumConstantDecl", + "name": "BOTTOM", + "type": { + "qualType": "slsDetectorDefs::portPosition" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51ffead8", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 34907, + "line": 1159, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 34954, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51ffeac0", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 34907, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 34954, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51ffea98", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 34913, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 34954, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a51ffea78", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 34913, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 34954, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51ffea70", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51ffea40", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 34913, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 34954, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51ffea28", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 34926, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 34953, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a51ffea10", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34926, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 34953, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51ffe9f0", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 34926, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 34953, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a51ffe9e8", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51ffe9b0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 34926, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 34953, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51ffe998", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34951, + "col": 49, + "tokLen": 1 + }, + "end": { + "offset": 34951, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51ffe978", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34951, + "col": 49, + "tokLen": 1 + }, + "end": { + "offset": 34951, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a51ffe960", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34926, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 34926, + "col": 24, + "tokLen": 24 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51ffe4e0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 34926, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 34926, + "col": 24, + "tokLen": 24 + } + }, + "type": { + "qualType": "const char[23]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown port position \"" + } + ] + }, + { + "id": "0x558a51ffe510", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34953, + "col": 51, + "tokLen": 1 + }, + "end": { + "offset": 34953, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ff9158", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} +{ + "id": "0x558a51ffecb0", + "kind": "FunctionDecl", + "loc": { + "offset": 34997, + "file": "ToString.cpp", + "line": 1162, + "col": 38, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 34960, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 35420, + "line": 1173, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bbe880", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs18streamingInterfaceEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::streamingInterface (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::streamingInterface" + }, + "inner": [ + { + "id": "0x558a5152f930", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::streamingInterface" + }, + "decl": { + "id": "0x558a5152f890", + "kind": "EnumDecl", + "name": "streamingInterface" + } + } + ] + }, + { + "id": "0x558a51ffebd8", + "kind": "ParmVarDecl", + "loc": { + "offset": 35025, + "line": 1162, + "col": 66, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 35006, + "col": 47, + "tokLen": 5 + }, + "end": { + "offset": 35025, + "col": 66, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a520048f0", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 35028, + "col": 69, + "tokLen": 1 + }, + "end": { + "offset": 35420, + "line": 1173, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51ffef98", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 35034, + "line": 1163, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 35052, + "col": 23, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51ffeee0", + "kind": "VarDecl", + "loc": { + "offset": 35046, + "col": 17, + "tokLen": 2 + }, + "range": { + "begin": { + "offset": 35034, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 35051, + "col": 22, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "rs", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "init": "c", + "inner": [ + { + "id": "0x558a51ffef68", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 35051, + "col": 22, + "tokLen": 1 + }, + "end": { + "offset": 35051, + "col": 22, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const basic_string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51ffef48", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35051, + "col": 22, + "tokLen": 1 + }, + "end": { + "offset": 35051, + "col": 22, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ffebd8", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + }, + { + "id": "0x558a52000550", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 35058, + "line": 1164, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 35125, + "line": 1165, + "col": 30, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51fffa78", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 35062, + "line": 1164, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35090, + "col": 37, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "!=", + "inner": [ + { + "id": "0x558a51fff900", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 35062, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35072, + "col": 19, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51fff8d0", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 35062, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35064, + "col": 11, + "tokLen": 4 + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "find", + "isArrow": false, + "referencedMemberDecl": "0x558a50c9b838", + "inner": [ + { + "id": "0x558a51ffefb0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35062, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35062, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ffebd8", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + }, + { + "id": "0x558a51fff048", + "kind": "CharacterLiteral", + "range": { + "begin": { + "offset": 35069, + "col": 16, + "tokLen": 3 + }, + "end": { + "offset": 35069, + "col": 16, + "tokLen": 3 + } + }, + "type": { + "qualType": "char" + }, + "valueCategory": "prvalue", + "value": 44 + }, + { + "id": "0x558a51fff948", + "kind": "CXXDefaultArgExpr", + "range": { + "begin": {}, + "end": {} + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51fff930", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 102107, + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/bits/basic_string.h", + "line": 2991, + "col": 42, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 102107, + "col": 42, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a50b7f9b0", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 102107, + "col": 42, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 102107, + "col": 42, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51fffa60", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35077, + "file": "ToString.cpp", + "line": 1164, + "col": 24, + "tokLen": 3 + }, + "end": { + "offset": 35090, + "col": 37, + "tokLen": 4 + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a51fffa30", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35077, + "col": 24, + "tokLen": 3 + }, + "end": { + "offset": 35090, + "col": 37, + "tokLen": 4 + } + }, + "type": { + "desugaredQualType": "const unsigned long", + "qualType": "const typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a518bd2a0", + "kind": "VarDecl", + "name": "npos", + "type": { + "desugaredQualType": "const unsigned long", + "qualType": "const typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + } + }, + "nonOdrUseReason": "constant" + } + ] + } + ] + }, + { + "id": "0x558a520004a8", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 35104, + "line": 1165, + "col": 9, + "tokLen": 2 + }, + "end": { + "offset": 35125, + "col": 30, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string" + }, + "valueCategory": "lvalue", + "inner": [ + { + "id": "0x558a52000478", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 35104, + "col": 9, + "tokLen": 2 + }, + "end": { + "offset": 35107, + "col": 12, + "tokLen": 5 + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "erase", + "isArrow": false, + "referencedMemberDecl": "0x558a50c904f8", + "inner": [ + { + "id": "0x558a51fffa98", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35104, + "col": 9, + "tokLen": 2 + }, + "end": { + "offset": 35104, + "col": 9, + "tokLen": 2 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ffeee0", + "kind": "VarDecl", + "name": "rs", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + } + } + } + ] + }, + { + "id": "0x558a520003f8", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 35113, + "col": 18, + "tokLen": 2 + }, + "end": { + "offset": 35124, + "col": 29, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a520003b0", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 35113, + "col": 18, + "tokLen": 2 + }, + "end": { + "offset": 35116, + "col": 21, + "tokLen": 4 + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "find", + "isArrow": false, + "referencedMemberDecl": "0x558a50c9b838", + "inner": [ + { + "id": "0x558a520003e0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35113, + "col": 18, + "tokLen": 2 + }, + "end": { + "offset": 35113, + "col": 18, + "tokLen": 2 + } + }, + "type": { + "qualType": "const std::basic_string" + }, + "valueCategory": "lvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51fffb20", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35113, + "col": 18, + "tokLen": 2 + }, + "end": { + "offset": 35113, + "col": 18, + "tokLen": 2 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ffeee0", + "kind": "VarDecl", + "name": "rs", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fffbb8", + "kind": "CharacterLiteral", + "range": { + "begin": { + "offset": 35121, + "col": 26, + "tokLen": 3 + }, + "end": { + "offset": 35121, + "col": 26, + "tokLen": 3 + } + }, + "type": { + "qualType": "char" + }, + "valueCategory": "prvalue", + "value": 44 + }, + { + "id": "0x558a52000428", + "kind": "CXXDefaultArgExpr", + "range": { + "begin": {}, + "end": {} + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51fff930", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 102107, + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/bits/basic_string.h", + "line": 2991, + "col": 42, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 102107, + "col": 42, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a50b7f9b0", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 102107, + "col": 42, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 102107, + "col": 42, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a52000530", + "kind": "CXXDefaultArgExpr", + "range": { + "begin": {}, + "end": {} + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52000518", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 76670, + "line": 2323, + "col": 50, + "tokLen": 4, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 76670, + "col": 50, + "tokLen": 4, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a520004f8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 76670, + "col": 50, + "tokLen": 4, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 76670, + "col": 50, + "tokLen": 4, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "desugaredQualType": "const unsigned long", + "qualType": "const typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a518bd2a0", + "kind": "VarDecl", + "name": "npos", + "type": { + "desugaredQualType": "const unsigned long", + "qualType": "const typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + } + }, + "nonOdrUseReason": "constant" + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a520019b0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 35132, + "file": "ToString.cpp", + "line": 1166, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 35191, + "line": 1167, + "col": 42, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a520018e8", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 35136, + "line": 1166, + "col": 9, + "tokLen": 2 + }, + "end": { + "offset": 35142, + "col": 15, + "tokLen": 6 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a520018d0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35139, + "col": 12, + "tokLen": 2 + }, + "end": { + "offset": 35139, + "col": 12, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a520018b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35139, + "col": 12, + "tokLen": 2 + }, + "end": { + "offset": 35139, + "col": 12, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a52001880", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35136, + "col": 9, + "tokLen": 2 + }, + "end": { + "offset": 35136, + "col": 9, + "tokLen": 2 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a52000570", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35136, + "col": 9, + "tokLen": 2 + }, + "end": { + "offset": 35136, + "col": 9, + "tokLen": 2 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ffeee0", + "kind": "VarDecl", + "name": "rs", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + } + } + } + ] + }, + { + "id": "0x558a52001898", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35142, + "col": 15, + "tokLen": 6 + }, + "end": { + "offset": 35142, + "col": 15, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52000590", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 35142, + "col": 15, + "tokLen": 6 + }, + "end": { + "offset": 35142, + "col": 15, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char[5]" + }, + "valueCategory": "lvalue", + "value": "\"none\"" + } + ] + } + ] + }, + { + "id": "0x558a520019a0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 35158, + "line": 1167, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 35191, + "col": 42, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a52001970", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35165, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 35191, + "col": 42, + "tokLen": 4 + } + }, + "type": { + "qualType": "slsDetectorDefs::streamingInterface" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152f990", + "kind": "EnumConstantDecl", + "name": "NONE", + "type": { + "qualType": "slsDetectorDefs::streamingInterface" + } + } + } + ] + } + ] + }, + { + "id": "0x558a52002e10", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 35201, + "line": 1168, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 35259, + "line": 1169, + "col": 42, + "tokLen": 16 + } + }, + "inner": [ + { + "id": "0x558a52002d48", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 35205, + "line": 1168, + "col": 9, + "tokLen": 2 + }, + "end": { + "offset": 35211, + "col": 15, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52002d30", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35208, + "col": 12, + "tokLen": 2 + }, + "end": { + "offset": 35208, + "col": 12, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52002d10", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35208, + "col": 12, + "tokLen": 2 + }, + "end": { + "offset": 35208, + "col": 12, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a52002ce0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35205, + "col": 9, + "tokLen": 2 + }, + "end": { + "offset": 35205, + "col": 9, + "tokLen": 2 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a520019d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35205, + "col": 9, + "tokLen": 2 + }, + "end": { + "offset": 35205, + "col": 9, + "tokLen": 2 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ffeee0", + "kind": "VarDecl", + "name": "rs", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + } + } + } + ] + }, + { + "id": "0x558a52002cf8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35211, + "col": 15, + "tokLen": 5 + }, + "end": { + "offset": 35211, + "col": 15, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a520019f0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 35211, + "col": 15, + "tokLen": 5 + }, + "end": { + "offset": 35211, + "col": 15, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char[4]" + }, + "valueCategory": "lvalue", + "value": "\"lll\"" + } + ] + } + ] + }, + { + "id": "0x558a52002e00", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 35226, + "line": 1169, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 35259, + "col": 42, + "tokLen": 16 + } + }, + "inner": [ + { + "id": "0x558a52002dd0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35233, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 35259, + "col": 42, + "tokLen": 16 + } + }, + "type": { + "qualType": "slsDetectorDefs::streamingInterface" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152fa68", + "kind": "EnumConstantDecl", + "name": "LOW_LATENCY_LINK", + "type": { + "qualType": "slsDetectorDefs::streamingInterface" + } + } + } + ] + } + ] + }, + { + "id": "0x558a52004270", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 35281, + "line": 1170, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 35341, + "line": 1171, + "col": 42, + "tokLen": 13 + } + }, + "inner": [ + { + "id": "0x558a520041a8", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 35285, + "line": 1170, + "col": 9, + "tokLen": 2 + }, + "end": { + "offset": 35291, + "col": 15, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52004190", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35288, + "col": 12, + "tokLen": 2 + }, + "end": { + "offset": 35288, + "col": 12, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52004170", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35288, + "col": 12, + "tokLen": 2 + }, + "end": { + "offset": 35288, + "col": 12, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a52004140", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35285, + "col": 9, + "tokLen": 2 + }, + "end": { + "offset": 35285, + "col": 9, + "tokLen": 2 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a52002e30", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35285, + "col": 9, + "tokLen": 2 + }, + "end": { + "offset": 35285, + "col": 9, + "tokLen": 2 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ffeee0", + "kind": "VarDecl", + "name": "rs", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + } + } + } + ] + }, + { + "id": "0x558a52004158", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35291, + "col": 15, + "tokLen": 7 + }, + "end": { + "offset": 35291, + "col": 15, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52002e50", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 35291, + "col": 15, + "tokLen": 7 + }, + "end": { + "offset": 35291, + "col": 15, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"10gbe\"" + } + ] + } + ] + }, + { + "id": "0x558a52004260", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 35308, + "line": 1171, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 35341, + "col": 42, + "tokLen": 13 + } + }, + "inner": [ + { + "id": "0x558a52004230", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35315, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 35341, + "col": 42, + "tokLen": 13 + } + }, + "type": { + "qualType": "slsDetectorDefs::streamingInterface" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152fb40", + "kind": "EnumConstantDecl", + "name": "ETHERNET_10GB", + "type": { + "qualType": "slsDetectorDefs::streamingInterface" + } + } + } + ] + } + ] + }, + { + "id": "0x558a520048d8", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 35360, + "line": 1172, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 35417, + "col": 62, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a520048c0", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 35360, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 35417, + "col": 62, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52004898", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 35366, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 35417, + "col": 62, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a52004878", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 35366, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 35417, + "col": 62, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a52004870", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a52004840", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 35366, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 35417, + "col": 62, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a52004828", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 35379, + "col": 24, + "tokLen": 34 + }, + "end": { + "offset": 35416, + "col": 61, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a52004810", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35379, + "col": 24, + "tokLen": 34 + }, + "end": { + "offset": 35416, + "col": 61, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a520047f0", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 35379, + "col": 24, + "tokLen": 34 + }, + "end": { + "offset": 35416, + "col": 61, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a520047e8", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a520047b0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 35379, + "col": 24, + "tokLen": 34 + }, + "end": { + "offset": 35416, + "col": 61, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52004798", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35414, + "col": 59, + "tokLen": 1 + }, + "end": { + "offset": 35414, + "col": 59, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52004778", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35414, + "col": 59, + "tokLen": 1 + }, + "end": { + "offset": 35414, + "col": 59, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a52004760", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35379, + "col": 24, + "tokLen": 34 + }, + "end": { + "offset": 35379, + "col": 24, + "tokLen": 34 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a520042a0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 35379, + "col": 24, + "tokLen": 34 + }, + "end": { + "offset": 35379, + "col": 24, + "tokLen": 34 + } + }, + "type": { + "qualType": "const char[33]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown streamingInterface type \"" + } + ] + }, + { + "id": "0x558a520042d8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35416, + "col": 61, + "tokLen": 1 + }, + "end": { + "offset": 35416, + "col": 61, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ffebd8", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} +{ + "id": "0x558a52004ac0", + "kind": "FunctionDecl", + "loc": { + "offset": 35455, + "file": "ToString.cpp", + "line": 1175, + "col": 33, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 35423, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 35645, + "line": 1181, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bbee10", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs13vetoAlgorithmEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::vetoAlgorithm (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::vetoAlgorithm" + }, + "inner": [ + { + "id": "0x558a5152fd10", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::vetoAlgorithm" + }, + "decl": { + "id": "0x558a5152fc70", + "kind": "EnumDecl", + "name": "vetoAlgorithm" + } + } + ] + }, + { + "id": "0x558a520049e0", + "kind": "ParmVarDecl", + "loc": { + "offset": 35483, + "line": 1175, + "col": 61, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 35464, + "col": 42, + "tokLen": 5 + }, + "end": { + "offset": 35483, + "col": 61, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a52007b30", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 35486, + "col": 64, + "tokLen": 1 + }, + "end": { + "offset": 35645, + "line": 1181, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a520060b0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 35492, + "line": 1176, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 35530, + "line": 1177, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a52006000", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 35496, + "line": 1176, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35501, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52005fe8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35498, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 35498, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52005fc8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35498, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 35498, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a52004ca8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35496, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35496, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a520049e0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a52005fb0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35501, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 35501, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52004cc8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 35501, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 35501, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char[5]" + }, + "valueCategory": "lvalue", + "value": "\"hits\"" + } + ] + } + ] + }, + { + "id": "0x558a520060a0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 35517, + "line": 1177, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 35530, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a52006070", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35524, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 35530, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::vetoAlgorithm" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152fd30", + "kind": "EnumConstantDecl", + "name": "ALG_HITS", + "type": { + "qualType": "slsDetectorDefs::vetoAlgorithm" + } + } + } + ] + } + ] + }, + { + "id": "0x558a520074f0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 35544, + "line": 1178, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 35581, + "line": 1179, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a52007440", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 35548, + "line": 1178, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35553, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52007428", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35550, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 35550, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52007408", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35550, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 35550, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a520060d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35548, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35548, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a520049e0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a520073f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35553, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 35553, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a520060f0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 35553, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 35553, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char[4]" + }, + "valueCategory": "lvalue", + "value": "\"raw\"" + } + ] + } + ] + }, + { + "id": "0x558a520074e0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 35568, + "line": 1179, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 35581, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a520074b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35575, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 35581, + "col": 22, + "tokLen": 7 + } + }, + "type": { + "qualType": "slsDetectorDefs::vetoAlgorithm" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152fd88", + "kind": "EnumConstantDecl", + "name": "ALG_RAW", + "type": { + "qualType": "slsDetectorDefs::vetoAlgorithm" + } + } + } + ] + } + ] + }, + { + "id": "0x558a52007b18", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 35594, + "line": 1180, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 35642, + "col": 53, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a52007b00", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 35594, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 35642, + "col": 53, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52007ad8", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 35600, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 35642, + "col": 53, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a52007ab8", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 35600, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 35642, + "col": 53, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a52007ab0", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a52007a80", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 35600, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 35642, + "col": 53, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a52007a68", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 35613, + "col": 24, + "tokLen": 25 + }, + "end": { + "offset": 35641, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a52007a50", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35613, + "col": 24, + "tokLen": 25 + }, + "end": { + "offset": 35641, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a52007a30", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 35613, + "col": 24, + "tokLen": 25 + }, + "end": { + "offset": 35641, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a52007a28", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a520079f0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 35613, + "col": 24, + "tokLen": 25 + }, + "end": { + "offset": 35641, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a520079d8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35639, + "col": 50, + "tokLen": 1 + }, + "end": { + "offset": 35639, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a520079b8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35639, + "col": 50, + "tokLen": 1 + }, + "end": { + "offset": 35639, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a520079a0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35613, + "col": 24, + "tokLen": 25 + }, + "end": { + "offset": 35613, + "col": 24, + "tokLen": 25 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52007520", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 35613, + "col": 24, + "tokLen": 25 + }, + "end": { + "offset": 35613, + "col": 24, + "tokLen": 25 + } + }, + "type": { + "qualType": "const char[24]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown veto algorithm \"" + } + ] + }, + { + "id": "0x558a52007550", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35641, + "col": 52, + "tokLen": 1 + }, + "end": { + "offset": 35641, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a520049e0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} +{ + "id": "0x558a52007ce0", + "kind": "FunctionDecl", + "loc": { + "offset": 35675, + "file": "ToString.cpp", + "line": 1183, + "col": 28, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 35648, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 36101, + "line": 1197, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bbf3a0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs8gainModeEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::gainMode (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::gainMode" + }, + "inner": [ + { + "id": "0x558a5152fe80", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::gainMode" + }, + "decl": { + "id": "0x558a5152fde0", + "kind": "EnumDecl", + "name": "gainMode" + } + } + ] + }, + { + "id": "0x558a52007c08", + "kind": "ParmVarDecl", + "loc": { + "offset": 35703, + "line": 1183, + "col": 56, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 35684, + "col": 37, + "tokLen": 5 + }, + "end": { + "offset": 35703, + "col": 56, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a5200fe00", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 35706, + "col": 59, + "tokLen": 1 + }, + "end": { + "offset": 36101, + "line": 1197, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a520092d0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 35712, + "line": 1184, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 35753, + "line": 1185, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a52009220", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 35716, + "line": 1184, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35721, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52009208", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35718, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 35718, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a520091e8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35718, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 35718, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a52007ec8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35716, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35716, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52007c08", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a520091d0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35721, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 35721, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52007ee8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 35721, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 35721, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char[8]" + }, + "valueCategory": "lvalue", + "value": "\"dynamic\"" + } + ] + } + ] + }, + { + "id": "0x558a520092c0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 35740, + "line": 1185, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 35753, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a52009290", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35747, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 35753, + "col": 22, + "tokLen": 7 + } + }, + "type": { + "qualType": "slsDetectorDefs::gainMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152fea0", + "kind": "EnumConstantDecl", + "name": "DYNAMIC", + "type": { + "qualType": "slsDetectorDefs::gainMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a5200a700", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 35766, + "line": 1186, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 35813, + "line": 1187, + "col": 22, + "tokLen": 15 + } + }, + "inner": [ + { + "id": "0x558a5200a650", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 35770, + "line": 1186, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35775, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a5200a638", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35772, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 35772, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a5200a618", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35772, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 35772, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a520092f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35770, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35770, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52007c08", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a5200a600", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35775, + "col": 14, + "tokLen": 15 + }, + "end": { + "offset": 35775, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52009310", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 35775, + "col": 14, + "tokLen": 15 + }, + "end": { + "offset": 35775, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "const char[14]" + }, + "valueCategory": "lvalue", + "value": "\"forceswitchg1\"" + } + ] + } + ] + }, + { + "id": "0x558a5200a6f0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 35800, + "line": 1187, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 35813, + "col": 22, + "tokLen": 15 + } + }, + "inner": [ + { + "id": "0x558a5200a6c0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35807, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 35813, + "col": 22, + "tokLen": 15 + } + }, + "type": { + "qualType": "slsDetectorDefs::gainMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152fef8", + "kind": "EnumConstantDecl", + "name": "FORCE_SWITCH_G1", + "type": { + "qualType": "slsDetectorDefs::gainMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a5200bb30", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 35834, + "line": 1188, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 35881, + "line": 1189, + "col": 22, + "tokLen": 15 + } + }, + "inner": [ + { + "id": "0x558a5200ba80", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 35838, + "line": 1188, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35843, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a5200ba68", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35840, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 35840, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a5200ba48", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35840, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 35840, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a5200a720", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35838, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35838, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52007c08", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a5200ba30", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35843, + "col": 14, + "tokLen": 15 + }, + "end": { + "offset": 35843, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a5200a740", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 35843, + "col": 14, + "tokLen": 15 + }, + "end": { + "offset": 35843, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "const char[14]" + }, + "valueCategory": "lvalue", + "value": "\"forceswitchg2\"" + } + ] + } + ] + }, + { + "id": "0x558a5200bb20", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 35868, + "line": 1189, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 35881, + "col": 22, + "tokLen": 15 + } + }, + "inner": [ + { + "id": "0x558a5200baf0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35875, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 35881, + "col": 22, + "tokLen": 15 + } + }, + "type": { + "qualType": "slsDetectorDefs::gainMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152ff50", + "kind": "EnumConstantDecl", + "name": "FORCE_SWITCH_G2", + "type": { + "qualType": "slsDetectorDefs::gainMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a5200cf60", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 35902, + "line": 1190, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 35941, + "line": 1191, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a5200ceb0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 35906, + "line": 1190, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35911, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a5200ce98", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35908, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 35908, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a5200ce78", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35908, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 35908, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a5200bb50", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35906, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35906, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52007c08", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a5200ce60", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35911, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 35911, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a5200bb70", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 35911, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 35911, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"fixg1\"" + } + ] + } + ] + }, + { + "id": "0x558a5200cf50", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 35928, + "line": 1191, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 35941, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a5200cf20", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35935, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 35941, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::gainMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152ffa8", + "kind": "EnumConstantDecl", + "name": "FIX_G1", + "type": { + "qualType": "slsDetectorDefs::gainMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a5200e390", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 35953, + "line": 1192, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 35992, + "line": 1193, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a5200e2e0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 35957, + "line": 1192, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35962, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a5200e2c8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35959, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 35959, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a5200e2a8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35959, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 35959, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a5200cf80", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35957, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35957, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52007c08", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a5200e290", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35962, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 35962, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a5200cfa0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 35962, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 35962, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"fixg2\"" + } + ] + } + ] + }, + { + "id": "0x558a5200e380", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 35979, + "line": 1193, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 35992, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a5200e350", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35986, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 35992, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::gainMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a51530000", + "kind": "EnumConstantDecl", + "name": "FIX_G2", + "type": { + "qualType": "slsDetectorDefs::gainMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a5200f7c0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 36004, + "line": 1194, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 36043, + "line": 1195, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a5200f710", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 36008, + "line": 1194, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 36013, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a5200f6f8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36010, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 36010, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a5200f6d8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36010, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 36010, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a5200e3b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36008, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 36008, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52007c08", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a5200f6c0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36013, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 36013, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a5200e3d0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 36013, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 36013, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"fixg0\"" + } + ] + } + ] + }, + { + "id": "0x558a5200f7b0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 36030, + "line": 1195, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 36043, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a5200f780", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36037, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 36043, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::gainMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a51530058", + "kind": "EnumConstantDecl", + "name": "FIX_G0", + "type": { + "qualType": "slsDetectorDefs::gainMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a5200fde8", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 36055, + "line": 1196, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 36098, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a5200fdd0", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 36055, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 36098, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5200fda8", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 36061, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 36098, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a5200fd88", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 36061, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 36098, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a5200fd80", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a5200fd50", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 36061, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 36098, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a5200fd38", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 36074, + "col": 24, + "tokLen": 20 + }, + "end": { + "offset": 36097, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a5200fd20", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36074, + "col": 24, + "tokLen": 20 + }, + "end": { + "offset": 36097, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a5200fd00", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 36074, + "col": 24, + "tokLen": 20 + }, + "end": { + "offset": 36097, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a5200fcf8", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a5200fcc0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 36074, + "col": 24, + "tokLen": 20 + }, + "end": { + "offset": 36097, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a5200fca8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36095, + "col": 45, + "tokLen": 1 + }, + "end": { + "offset": 36095, + "col": 45, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a5200fc88", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36095, + "col": 45, + "tokLen": 1 + }, + "end": { + "offset": 36095, + "col": 45, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a5200fc70", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36074, + "col": 24, + "tokLen": 20 + }, + "end": { + "offset": 36074, + "col": 24, + "tokLen": 20 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a5200f7f0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 36074, + "col": 24, + "tokLen": 20 + }, + "end": { + "offset": 36074, + "col": 24, + "tokLen": 20 + } + }, + "type": { + "qualType": "const char[19]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown gain mode \"" + } + ] + }, + { + "id": "0x558a5200f820", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36097, + "col": 47, + "tokLen": 1 + }, + "end": { + "offset": 36097, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52007c08", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} +{ + "id": "0x558a5200ffd0", + "kind": "FunctionDecl", + "loc": { + "offset": 36131, + "file": "ToString.cpp", + "line": 1199, + "col": 28, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 36104, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 36320, + "line": 1205, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bbf930", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs8polarityEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::polarity (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::polarity" + }, + "inner": [ + { + "id": "0x558a51530150", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::polarity" + }, + "decl": { + "id": "0x558a515300b0", + "kind": "EnumDecl", + "name": "polarity" + } + } + ] + }, + { + "id": "0x558a5200fef8", + "kind": "ParmVarDecl", + "loc": { + "offset": 36159, + "line": 1199, + "col": 56, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 36140, + "col": 37, + "tokLen": 5 + }, + "end": { + "offset": 36159, + "col": 56, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a52013030", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 36162, + "col": 59, + "tokLen": 1 + }, + "end": { + "offset": 36320, + "line": 1205, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a520115c0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 36168, + "line": 1200, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 36205, + "line": 1201, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a52011510", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 36172, + "line": 1200, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 36177, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a520114f8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36174, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 36174, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a520114d8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36174, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 36174, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a520101b8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36172, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 36172, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5200fef8", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a520114c0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36177, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 36177, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a520101d8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 36177, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 36177, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char[4]" + }, + "valueCategory": "lvalue", + "value": "\"pos\"" + } + ] + } + ] + }, + { + "id": "0x558a520115b0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 36192, + "line": 1201, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 36205, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a52011580", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36199, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 36205, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::polarity" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a51530170", + "kind": "EnumConstantDecl", + "name": "POSITIVE", + "type": { + "qualType": "slsDetectorDefs::polarity" + } + } + } + ] + } + ] + }, + { + "id": "0x558a520129f0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 36219, + "line": 1202, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 36256, + "line": 1203, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a52012940", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 36223, + "line": 1202, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 36228, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52012928", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36225, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 36225, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52012908", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36225, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 36225, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a520115e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36223, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 36223, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5200fef8", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a520128f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36228, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 36228, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52011600", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 36228, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 36228, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char[4]" + }, + "valueCategory": "lvalue", + "value": "\"neg\"" + } + ] + } + ] + }, + { + "id": "0x558a520129e0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 36243, + "line": 1203, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 36256, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a520129b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36250, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 36256, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::polarity" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a515301c8", + "kind": "EnumConstantDecl", + "name": "NEGATIVE", + "type": { + "qualType": "slsDetectorDefs::polarity" + } + } + } + ] + } + ] + }, + { + "id": "0x558a52013018", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 36270, + "line": 1204, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 36317, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a52013000", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 36270, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 36317, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52012fd8", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 36276, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 36317, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a52012fb8", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 36276, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 36317, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a52012fb0", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a52012f80", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 36276, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 36317, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a52012f68", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 36289, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 36316, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a52012f50", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36289, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 36316, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a52012f30", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 36289, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 36316, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a52012f28", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a52012ef0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 36289, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 36316, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52012ed8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36314, + "col": 49, + "tokLen": 1 + }, + "end": { + "offset": 36314, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52012eb8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36314, + "col": 49, + "tokLen": 1 + }, + "end": { + "offset": 36314, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a52012ea0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36289, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 36289, + "col": 24, + "tokLen": 24 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52012a20", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 36289, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 36289, + "col": 24, + "tokLen": 24 + } + }, + "type": { + "qualType": "const char[23]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown polarity mode \"" + } + ] + }, + { + "id": "0x558a52012a50", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36316, + "col": 51, + "tokLen": 1 + }, + "end": { + "offset": 36316, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5200fef8", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} +{ + "id": "0x558a520131e0", + "kind": "FunctionDecl", + "loc": { + "offset": 36359, + "file": "ToString.cpp", + "line": 1207, + "col": 37, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 36323, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 36558, + "line": 1213, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bbfec0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs17timingInfoDecoderEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::timingInfoDecoder (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::timingInfoDecoder" + }, + "inner": [ + { + "id": "0x558a515302c0", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::timingInfoDecoder" + }, + "decl": { + "id": "0x558a51530220", + "kind": "EnumDecl", + "name": "timingInfoDecoder" + } + } + ] + }, + { + "id": "0x558a52013108", + "kind": "ParmVarDecl", + "loc": { + "offset": 36387, + "line": 1207, + "col": 65, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 36368, + "col": 46, + "tokLen": 5 + }, + "end": { + "offset": 36387, + "col": 65, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a52016280", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 36390, + "col": 68, + "tokLen": 1 + }, + "end": { + "offset": 36558, + "line": 1213, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a520147d0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 36396, + "line": 1208, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 36438, + "line": 1209, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a52014720", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 36400, + "line": 1208, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 36405, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52014708", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36402, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 36402, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a520146e8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36402, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 36402, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a520133c8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36400, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 36400, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52013108", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a520146d0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36405, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 36405, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a520133e8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 36405, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 36405, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"swissfel\"" + } + ] + } + ] + }, + { + "id": "0x558a520147c0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 36425, + "line": 1209, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 36438, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a52014790", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36432, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 36438, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::timingInfoDecoder" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a515302e0", + "kind": "EnumConstantDecl", + "name": "SWISSFEL", + "type": { + "qualType": "slsDetectorDefs::timingInfoDecoder" + } + } + } + ] + } + ] + }, + { + "id": "0x558a52015c00", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 36452, + "line": 1210, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 36491, + "line": 1211, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a52015b50", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 36456, + "line": 1210, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 36461, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52015b38", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36458, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 36458, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52015b18", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36458, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 36458, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a520147f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36456, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 36456, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52013108", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a52015b00", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36461, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 36461, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52014810", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 36461, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 36461, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"shine\"" + } + ] + } + ] + }, + { + "id": "0x558a52015bf0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 36478, + "line": 1211, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 36491, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a52015bc0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36485, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 36491, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::timingInfoDecoder" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a51530338", + "kind": "EnumConstantDecl", + "name": "SHINE", + "type": { + "qualType": "slsDetectorDefs::timingInfoDecoder" + } + } + } + ] + } + ] + }, + { + "id": "0x558a52016268", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 36502, + "line": 1212, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 36555, + "col": 58, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a52016250", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 36502, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 36555, + "col": 58, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52016228", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 36508, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 36555, + "col": 58, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a52016208", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 36508, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 36555, + "col": 58, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a52016200", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a520161d0", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 36508, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 36555, + "col": 58, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a520161b8", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 36521, + "col": 24, + "tokLen": 30 + }, + "end": { + "offset": 36554, + "col": 57, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a520161a0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36521, + "col": 24, + "tokLen": 30 + }, + "end": { + "offset": 36554, + "col": 57, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a52016180", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 36521, + "col": 24, + "tokLen": 30 + }, + "end": { + "offset": 36554, + "col": 57, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a52016178", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a52016140", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 36521, + "col": 24, + "tokLen": 30 + }, + "end": { + "offset": 36554, + "col": 57, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52016128", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36552, + "col": 55, + "tokLen": 1 + }, + "end": { + "offset": 36552, + "col": 55, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52016108", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36552, + "col": 55, + "tokLen": 1 + }, + "end": { + "offset": 36552, + "col": 55, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a520160f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36521, + "col": 24, + "tokLen": 30 + }, + "end": { + "offset": 36521, + "col": 24, + "tokLen": 30 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52015c30", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 36521, + "col": 24, + "tokLen": 30 + }, + "end": { + "offset": 36521, + "col": 24, + "tokLen": 30 + } + }, + "type": { + "qualType": "const char[29]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown Timing Info Decoder \"" + } + ] + }, + { + "id": "0x558a52015c68", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36554, + "col": 57, + "tokLen": 1 + }, + "end": { + "offset": 36554, + "col": 57, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52013108", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} +{ + "id": "0x558a52016430", + "kind": "FunctionDecl", + "loc": { + "offset": 36594, + "file": "ToString.cpp", + "line": 1215, + "col": 34, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 36561, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 36787, + "line": 1221, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bc0450", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs14collectionModeEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::collectionMode (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::collectionMode" + }, + "inner": [ + { + "id": "0x558a51530430", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::collectionMode" + }, + "decl": { + "id": "0x558a51530390", + "kind": "EnumDecl", + "name": "collectionMode" + } + } + ] + }, + { + "id": "0x558a52016358", + "kind": "ParmVarDecl", + "loc": { + "offset": 36622, + "line": 1215, + "col": 62, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 36603, + "col": 43, + "tokLen": 5 + }, + "end": { + "offset": 36622, + "col": 62, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a520194c0", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 36625, + "col": 65, + "tokLen": 1 + }, + "end": { + "offset": 36787, + "line": 1221, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52017a20", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 36631, + "line": 1216, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 36669, + "line": 1217, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a52017970", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 36635, + "line": 1216, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 36640, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52017958", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36637, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 36637, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52017938", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36637, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 36637, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a52016618", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36635, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 36635, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52016358", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a52017920", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36640, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 36640, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52016638", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 36640, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 36640, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char[5]" + }, + "valueCategory": "lvalue", + "value": "\"hole\"" + } + ] + } + ] + }, + { + "id": "0x558a52017a10", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 36656, + "line": 1217, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 36669, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a520179e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36663, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 36669, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "slsDetectorDefs::collectionMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a51530450", + "kind": "EnumConstantDecl", + "name": "HOLE", + "type": { + "qualType": "slsDetectorDefs::collectionMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a52018e50", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 36679, + "line": 1218, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 36721, + "line": 1219, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a52018da0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 36683, + "line": 1218, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 36688, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52018d88", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36685, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 36685, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52018d68", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36685, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 36685, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a52017a40", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36683, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 36683, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52016358", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a52018d50", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36688, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 36688, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52017a60", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 36688, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 36688, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"electron\"" + } + ] + } + ] + }, + { + "id": "0x558a52018e40", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 36708, + "line": 1219, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 36721, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a52018e10", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36715, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 36721, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::collectionMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a515304a8", + "kind": "EnumConstantDecl", + "name": "ELECTRON", + "type": { + "qualType": "slsDetectorDefs::collectionMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a520194a8", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 36735, + "line": 1220, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 36784, + "col": 54, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a52019490", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 36735, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 36784, + "col": 54, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52019468", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 36741, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 36784, + "col": 54, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a52019448", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 36741, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 36784, + "col": 54, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a52019440", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a52019410", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 36741, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 36784, + "col": 54, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a520193f8", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 36754, + "col": 24, + "tokLen": 26 + }, + "end": { + "offset": 36783, + "col": 53, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a520193e0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36754, + "col": 24, + "tokLen": 26 + }, + "end": { + "offset": 36783, + "col": 53, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a520193c0", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 36754, + "col": 24, + "tokLen": 26 + }, + "end": { + "offset": 36783, + "col": 53, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a520193b8", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a52019380", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 36754, + "col": 24, + "tokLen": 26 + }, + "end": { + "offset": 36783, + "col": 53, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52019368", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36781, + "col": 51, + "tokLen": 1 + }, + "end": { + "offset": 36781, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52019348", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36781, + "col": 51, + "tokLen": 1 + }, + "end": { + "offset": 36781, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a52019330", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36754, + "col": 24, + "tokLen": 26 + }, + "end": { + "offset": 36754, + "col": 24, + "tokLen": 26 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52018e80", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 36754, + "col": 24, + "tokLen": 26 + }, + "end": { + "offset": 36754, + "col": 24, + "tokLen": 26 + } + }, + "type": { + "qualType": "const char[25]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown collection mode \"" + } + ] + }, + { + "id": "0x558a52018eb0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36783, + "col": 53, + "tokLen": 1 + }, + "end": { + "offset": 36783, + "col": 53, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52016358", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} +{ + "id": "0x558a52019620", + "kind": "FunctionDecl", + "loc": { + "offset": 36810, + "file": "ToString.cpp", + "line": 1223, + "col": 21, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 36790, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 37239, + "line": 1232, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bc13b0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIhEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "uint8_t (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "unsigned char" + }, + "inner": [ + { + "id": "0x558a5015ac50", + "kind": "BuiltinType", + "type": { + "qualType": "unsigned char" + } + } + ] + }, + { + "id": "0x558a52019558", + "kind": "ParmVarDecl", + "loc": { + "offset": 36838, + "line": 1223, + "col": 49, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 36819, + "col": 30, + "tokLen": 5 + }, + "end": { + "offset": 36838, + "col": 49, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a5201e620", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 36841, + "col": 52, + "tokLen": 1 + }, + "end": { + "offset": 37239, + "line": 1232, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a5201d310", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 36847, + "line": 1224, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 36901, + "col": 59, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a520197f0", + "kind": "VarDecl", + "loc": { + "offset": 36851, + "col": 9, + "tokLen": 4 + }, + "range": { + "begin": { + "offset": 36847, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 36899, + "col": 57, + "tokLen": 2 + } + }, + "isUsed": true, + "name": "base", + "type": { + "qualType": "int" + }, + "init": "c", + "inner": [ + { + "id": "0x558a5201d2e0", + "kind": "ConditionalOperator", + "range": { + "begin": { + "offset": 36858, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 36899, + "col": 57, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201d280", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 36858, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 36887, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "!=", + "inner": [ + { + "id": "0x558a5201d140", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 36858, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 36869, + "col": 27, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201d110", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 36858, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 36860, + "col": 18, + "tokLen": 4 + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "find", + "isArrow": false, + "referencedMemberDecl": "0x558a50c9b598", + "inner": [ + { + "id": "0x558a52019858", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36858, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 36858, + "col": 16, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52019558", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + }, + { + "id": "0x558a5201d170", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36865, + "col": 23, + "tokLen": 4 + }, + "end": { + "offset": 36865, + "col": 23, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a520198f0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 36865, + "col": 23, + "tokLen": 4 + }, + "end": { + "offset": 36865, + "col": 23, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"0x\"" + } + ] + }, + { + "id": "0x558a5201d1a0", + "kind": "CXXDefaultArgExpr", + "range": { + "begin": {}, + "end": {} + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201d188", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 101453, + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/bits/basic_string.h", + "line": 2973, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a50b7f990", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a5201d268", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36874, + "file": "ToString.cpp", + "line": 1224, + "col": 32, + "tokLen": 3 + }, + "end": { + "offset": 36887, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a5201d238", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36874, + "col": 32, + "tokLen": 3 + }, + "end": { + "offset": 36887, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "desugaredQualType": "const unsigned long", + "qualType": "const typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a518bd2a0", + "kind": "VarDecl", + "name": "npos", + "type": { + "desugaredQualType": "const unsigned long", + "qualType": "const typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + } + }, + "nonOdrUseReason": "constant" + } + ] + } + ] + }, + { + "id": "0x558a5201d2a0", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 36894, + "col": 52, + "tokLen": 2 + }, + "end": { + "offset": 36894, + "col": 52, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "16" + }, + { + "id": "0x558a5201d2c0", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 36899, + "col": 57, + "tokLen": 2 + }, + "end": { + "offset": 36899, + "col": 57, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "10" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a5201d580", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 36907, + "line": 1225, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 36946, + "col": 44, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a5201d340", + "kind": "VarDecl", + "loc": { + "offset": 36911, + "col": 9, + "tokLen": 5 + }, + "range": { + "begin": { + "offset": 36907, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 36945, + "col": 43, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "value", + "type": { + "qualType": "int" + }, + "init": "c", + "inner": [ + { + "id": "0x558a5201d518", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 36919, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 36945, + "col": 43, + "tokLen": 1 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201d500", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36919, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 36924, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "int (*)(const string &, size_t *, int)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a5201d468", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36919, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 36924, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "int (const string &, size_t *, int)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a50c62038", + "kind": "FunctionDecl", + "name": "stoi", + "type": { + "qualType": "int (const string &, size_t *, int)" + } + } + } + ] + }, + { + "id": "0x558a5201d418", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36929, + "col": 27, + "tokLen": 1 + }, + "end": { + "offset": 36929, + "col": 27, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52019558", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a5201d550", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36932, + "col": 30, + "tokLen": 7 + }, + "end": { + "offset": 36932, + "col": 30, + "tokLen": 7 + } + }, + "type": { + "qualType": "size_t *" + }, + "valueCategory": "prvalue", + "castKind": "NullToPointer", + "inner": [ + { + "id": "0x558a5201d438", + "kind": "CXXNullPtrLiteralExpr", + "range": { + "begin": { + "offset": 36932, + "col": 30, + "tokLen": 7 + }, + "end": { + "offset": 36932, + "col": 30, + "tokLen": 7 + } + }, + "type": { + "qualType": "std::nullptr_t" + }, + "valueCategory": "prvalue" + } + ] + }, + { + "id": "0x558a5201d568", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36941, + "col": 39, + "tokLen": 4 + }, + "end": { + "offset": 36941, + "col": 39, + "tokLen": 4 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a5201d448", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36941, + "col": 39, + "tokLen": 4 + }, + "end": { + "offset": 36941, + "col": 39, + "tokLen": 4 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a520197f0", + "kind": "VarDecl", + "name": "base", + "type": { + "qualType": "int" + } + } + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a5201e560", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 36952, + "line": 1226, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 37197, + "line": 1230, + "col": 5, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a5201d940", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 36956, + "line": 1226, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 37053, + "line": 1227, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a5201d778", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 36956, + "line": 1226, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 36998, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "<", + "inner": [ + { + "id": "0x558a5201d748", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36956, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 36956, + "col": 9, + "tokLen": 5 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a5201d598", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36956, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 36956, + "col": 9, + "tokLen": 5 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5201d340", + "kind": "VarDecl", + "name": "value", + "type": { + "qualType": "int" + } + } + } + ] + }, + { + "id": "0x558a5201d760", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36964, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 36998, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a5201d728", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 36964, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 36998, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "qualType": "unsigned char" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201d710", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36964, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 36994, + "col": 47, + "tokLen": 3 + } + }, + "type": { + "qualType": "unsigned char (*)() noexcept" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a5201d6e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36964, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 36994, + "col": 47, + "tokLen": 3 + } + }, + "type": { + "qualType": "unsigned char () noexcept" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a502efe00", + "kind": "CXXMethodDecl", + "name": "min", + "type": { + "qualType": "unsigned char () noexcept" + } + } + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a5201d920", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 37011, + "line": 1227, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 37053, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": ">", + "inner": [ + { + "id": "0x558a5201d8f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37011, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 37011, + "col": 9, + "tokLen": 5 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a5201d798", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37011, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 37011, + "col": 9, + "tokLen": 5 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5201d340", + "kind": "VarDecl", + "name": "value", + "type": { + "qualType": "int" + } + } + } + ] + }, + { + "id": "0x558a5201d908", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37019, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 37053, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a5201d8d0", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 37019, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 37053, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "qualType": "unsigned char" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201d8b8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37019, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 37049, + "col": 47, + "tokLen": 3 + } + }, + "type": { + "qualType": "unsigned char (*)() noexcept" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a5201d888", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37019, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 37049, + "col": 47, + "tokLen": 3 + } + }, + "type": { + "qualType": "unsigned char () noexcept" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a502efed8", + "kind": "CXXMethodDecl", + "name": "max", + "type": { + "qualType": "unsigned char () noexcept" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a5201e548", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 37056, + "col": 54, + "tokLen": 1 + }, + "end": { + "offset": 37197, + "line": 1230, + "col": 5, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a5201e530", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 37066, + "line": 1228, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 37190, + "line": 1229, + "col": 64, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a5201e518", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 37066, + "line": 1228, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 37190, + "line": 1229, + "col": 64, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201e4f0", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 37072, + "line": 1228, + "col": 15, + "tokLen": 12 + }, + "end": { + "offset": 37190, + "line": 1229, + "col": 64, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a5201e4d0", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 37072, + "line": 1228, + "col": 15, + "tokLen": 12 + }, + "end": { + "offset": 37190, + "line": 1229, + "col": 64, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a5201e4c8", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a5201e498", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 37072, + "line": 1228, + "col": 15, + "tokLen": 12 + }, + "end": { + "offset": 37190, + "line": 1229, + "col": 64, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a5201e480", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 37085, + "line": 1228, + "col": 28, + "tokLen": 35 + }, + "end": { + "offset": 37154, + "line": 1229, + "col": 28, + "tokLen": 36 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a5201e468", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37085, + "line": 1228, + "col": 28, + "tokLen": 35 + }, + "end": { + "offset": 37154, + "line": 1229, + "col": 28, + "tokLen": 36 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a5201e448", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 37085, + "line": 1228, + "col": 28, + "tokLen": 35 + }, + "end": { + "offset": 37154, + "line": 1229, + "col": 28, + "tokLen": 36 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a5201e440", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a5201e408", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 37085, + "line": 1228, + "col": 28, + "tokLen": 35 + }, + "end": { + "offset": 37154, + "line": 1229, + "col": 28, + "tokLen": 36 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a5201e3f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37125, + "line": 1228, + "col": 68, + "tokLen": 1 + }, + "end": { + "offset": 37125, + "col": 68, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(basic_string, allocator> &&, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a5201e3d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37125, + "col": 68, + "tokLen": 1 + }, + "end": { + "offset": 37125, + "col": 68, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (basic_string, allocator> &&, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a515d5600", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (basic_string, allocator> &&, const char *)" + } + } + } + ] + }, + { + "id": "0x558a5201e3a0", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 37085, + "col": 28, + "tokLen": 35 + }, + "end": { + "offset": 37123, + "col": 66, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "xvalue", + "storageDuration": "full expression", + "inner": [ + { + "id": "0x558a5201df20", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 37085, + "col": 28, + "tokLen": 35 + }, + "end": { + "offset": 37123, + "col": 66, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a5201df18", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a5201dee0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 37085, + "col": 28, + "tokLen": 35 + }, + "end": { + "offset": 37123, + "col": 66, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a5201dec8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37121, + "col": 64, + "tokLen": 1 + }, + "end": { + "offset": 37121, + "col": 64, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a5201dea8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37121, + "col": 64, + "tokLen": 1 + }, + "end": { + "offset": 37121, + "col": 64, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a5201de90", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37085, + "col": 28, + "tokLen": 35 + }, + "end": { + "offset": 37085, + "col": 28, + "tokLen": 35 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a5201d9d0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 37085, + "col": 28, + "tokLen": 35 + }, + "end": { + "offset": 37085, + "col": 28, + "tokLen": 35 + } + }, + "type": { + "qualType": "const char[34]" + }, + "valueCategory": "lvalue", + "value": "\"Cannot scan uint8_t from string '\"" + } + ] + }, + { + "id": "0x558a5201da10", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37123, + "col": 66, + "tokLen": 1 + }, + "end": { + "offset": 37123, + "col": 66, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52019558", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + }, + { + "id": "0x558a5201e3b8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37154, + "line": 1229, + "col": 28, + "tokLen": 36 + }, + "end": { + "offset": 37154, + "col": 28, + "tokLen": 36 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a5201df40", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 37154, + "col": 28, + "tokLen": 36 + }, + "end": { + "offset": 37154, + "col": 28, + "tokLen": 36 + } + }, + "type": { + "qualType": "const char[35]" + }, + "valueCategory": "lvalue", + "value": "\"'. Value must be in range 0 - 255.\"" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a5201e610", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 37203, + "line": 1231, + "col": 5, + "tokLen": 6 + }, + "end": { + "offset": 37236, + "col": 38, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a5201e5e0", + "kind": "CXXStaticCastExpr", + "range": { + "begin": { + "offset": 37210, + "col": 12, + "tokLen": 11 + }, + "end": { + "offset": 37236, + "col": 38, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "unsigned char", + "qualType": "uint8_t", + "typeAliasDeclId": "0x558a50375a38" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a5201e5c8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37231, + "col": 33, + "tokLen": 5 + }, + "end": { + "offset": 37231, + "col": 33, + "tokLen": 5 + } + }, + "type": { + "desugaredQualType": "unsigned char", + "qualType": "uint8_t", + "typeAliasDeclId": "0x558a50375a38" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "isPartOfExplicitCast": true, + "inner": [ + { + "id": "0x558a5201e5b0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37231, + "col": 33, + "tokLen": 5 + }, + "end": { + "offset": 37231, + "col": 33, + "tokLen": 5 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "isPartOfExplicitCast": true, + "inner": [ + { + "id": "0x558a5201e580", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37231, + "col": 33, + "tokLen": 5 + }, + "end": { + "offset": 37231, + "col": 33, + "tokLen": 5 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5201d340", + "kind": "VarDecl", + "name": "value", + "type": { + "qualType": "int" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} +{ + "id": "0x558a5201e790", + "kind": "FunctionDecl", + "loc": { + "offset": 37263, + "file": "ToString.cpp", + "line": 1234, + "col": 22, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 37242, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 37698, + "line": 1243, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bc18c0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToItEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "uint16_t (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "unsigned short" + }, + "inner": [ + { + "id": "0x558a5015ac70", + "kind": "BuiltinType", + "type": { + "qualType": "unsigned short" + } + } + ] + }, + { + "id": "0x558a5201e6c0", + "kind": "ParmVarDecl", + "loc": { + "offset": 37291, + "line": 1234, + "col": 50, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 37272, + "col": 31, + "tokLen": 5 + }, + "end": { + "offset": 37291, + "col": 50, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a520206a0", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 37294, + "col": 53, + "tokLen": 1 + }, + "end": { + "offset": 37698, + "line": 1243, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a5201f498", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 37300, + "line": 1235, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 37354, + "col": 59, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a5201e960", + "kind": "VarDecl", + "loc": { + "offset": 37304, + "col": 9, + "tokLen": 4 + }, + "range": { + "begin": { + "offset": 37300, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 37352, + "col": 57, + "tokLen": 2 + } + }, + "isUsed": true, + "name": "base", + "type": { + "qualType": "int" + }, + "init": "c", + "inner": [ + { + "id": "0x558a5201f468", + "kind": "ConditionalOperator", + "range": { + "begin": { + "offset": 37311, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 37352, + "col": 57, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201f408", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 37311, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 37340, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "!=", + "inner": [ + { + "id": "0x558a5201f2e0", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 37311, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 37322, + "col": 27, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201f2b0", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 37311, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 37313, + "col": 18, + "tokLen": 4 + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "find", + "isArrow": false, + "referencedMemberDecl": "0x558a50c9b598", + "inner": [ + { + "id": "0x558a5201e9c8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37311, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 37311, + "col": 16, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5201e6c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + }, + { + "id": "0x558a5201f310", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37318, + "col": 23, + "tokLen": 4 + }, + "end": { + "offset": 37318, + "col": 23, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a5201ea60", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 37318, + "col": 23, + "tokLen": 4 + }, + "end": { + "offset": 37318, + "col": 23, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"0x\"" + } + ] + }, + { + "id": "0x558a5201f328", + "kind": "CXXDefaultArgExpr", + "range": { + "begin": {}, + "end": {} + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201d188", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 101453, + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/bits/basic_string.h", + "line": 2973, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a50b7f990", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a5201f3f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37327, + "file": "ToString.cpp", + "line": 1235, + "col": 32, + "tokLen": 3 + }, + "end": { + "offset": 37340, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a5201f3c0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37327, + "col": 32, + "tokLen": 3 + }, + "end": { + "offset": 37340, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "desugaredQualType": "const unsigned long", + "qualType": "const typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a518bd2a0", + "kind": "VarDecl", + "name": "npos", + "type": { + "desugaredQualType": "const unsigned long", + "qualType": "const typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + } + }, + "nonOdrUseReason": "constant" + } + ] + } + ] + }, + { + "id": "0x558a5201f428", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 37347, + "col": 52, + "tokLen": 2 + }, + "end": { + "offset": 37347, + "col": 52, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "16" + }, + { + "id": "0x558a5201f448", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 37352, + "col": 57, + "tokLen": 2 + }, + "end": { + "offset": 37352, + "col": 57, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "10" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a5201f6a0", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 37360, + "line": 1236, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 37399, + "col": 44, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a5201f4c8", + "kind": "VarDecl", + "loc": { + "offset": 37364, + "col": 9, + "tokLen": 5 + }, + "range": { + "begin": { + "offset": 37360, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 37398, + "col": 43, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "value", + "type": { + "qualType": "int" + }, + "init": "c", + "inner": [ + { + "id": "0x558a5201f638", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 37372, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 37398, + "col": 43, + "tokLen": 1 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201f620", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37372, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 37377, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "int (*)(const string &, size_t *, int)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a5201f5f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37372, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 37377, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "int (const string &, size_t *, int)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a50c62038", + "kind": "FunctionDecl", + "name": "stoi", + "type": { + "qualType": "int (const string &, size_t *, int)" + } + } + } + ] + }, + { + "id": "0x558a5201f5a0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37382, + "col": 27, + "tokLen": 1 + }, + "end": { + "offset": 37382, + "col": 27, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5201e6c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a5201f670", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37385, + "col": 30, + "tokLen": 7 + }, + "end": { + "offset": 37385, + "col": 30, + "tokLen": 7 + } + }, + "type": { + "qualType": "size_t *" + }, + "valueCategory": "prvalue", + "castKind": "NullToPointer", + "inner": [ + { + "id": "0x558a5201f5c0", + "kind": "CXXNullPtrLiteralExpr", + "range": { + "begin": { + "offset": 37385, + "col": 30, + "tokLen": 7 + }, + "end": { + "offset": 37385, + "col": 30, + "tokLen": 7 + } + }, + "type": { + "qualType": "std::nullptr_t" + }, + "valueCategory": "prvalue" + } + ] + }, + { + "id": "0x558a5201f688", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37394, + "col": 39, + "tokLen": 4 + }, + "end": { + "offset": 37394, + "col": 39, + "tokLen": 4 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a5201f5d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37394, + "col": 39, + "tokLen": 4 + }, + "end": { + "offset": 37394, + "col": 39, + "tokLen": 4 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5201e960", + "kind": "VarDecl", + "name": "base", + "type": { + "qualType": "int" + } + } + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a520205e0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 37405, + "line": 1237, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 37655, + "line": 1241, + "col": 5, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a5201fa50", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 37409, + "line": 1237, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 37508, + "line": 1238, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a5201f888", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 37409, + "line": 1237, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 37452, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "<", + "inner": [ + { + "id": "0x558a5201f858", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37409, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 37409, + "col": 9, + "tokLen": 5 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a5201f6b8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37409, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 37409, + "col": 9, + "tokLen": 5 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5201f4c8", + "kind": "VarDecl", + "name": "value", + "type": { + "qualType": "int" + } + } + } + ] + }, + { + "id": "0x558a5201f870", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37417, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 37452, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a5201f838", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 37417, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 37452, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "qualType": "unsigned short" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201f820", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37417, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 37448, + "col": 48, + "tokLen": 3 + } + }, + "type": { + "qualType": "unsigned short (*)() noexcept" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a5201f7f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37417, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 37448, + "col": 48, + "tokLen": 3 + } + }, + "type": { + "qualType": "unsigned short () noexcept" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a504139f0", + "kind": "CXXMethodDecl", + "name": "min", + "type": { + "qualType": "unsigned short () noexcept" + } + } + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a5201fa30", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 37465, + "line": 1238, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 37508, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": ">", + "inner": [ + { + "id": "0x558a5201fa00", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37465, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 37465, + "col": 9, + "tokLen": 5 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a5201f8a8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37465, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 37465, + "col": 9, + "tokLen": 5 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5201f4c8", + "kind": "VarDecl", + "name": "value", + "type": { + "qualType": "int" + } + } + } + ] + }, + { + "id": "0x558a5201fa18", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37473, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 37508, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a5201f9e0", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 37473, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 37508, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "qualType": "unsigned short" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201f9c8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37473, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 37504, + "col": 48, + "tokLen": 3 + } + }, + "type": { + "qualType": "unsigned short (*)() noexcept" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a5201f998", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37473, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 37504, + "col": 48, + "tokLen": 3 + } + }, + "type": { + "qualType": "unsigned short () noexcept" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a50413ac8", + "kind": "CXXMethodDecl", + "name": "max", + "type": { + "qualType": "unsigned short () noexcept" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a520205c8", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 37511, + "col": 55, + "tokLen": 1 + }, + "end": { + "offset": 37655, + "line": 1241, + "col": 5, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a520205b0", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 37521, + "line": 1239, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 37648, + "line": 1240, + "col": 66, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a52020598", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 37521, + "line": 1239, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 37648, + "line": 1240, + "col": 66, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52020570", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 37527, + "line": 1239, + "col": 15, + "tokLen": 12 + }, + "end": { + "offset": 37648, + "line": 1240, + "col": 66, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a52020550", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 37527, + "line": 1239, + "col": 15, + "tokLen": 12 + }, + "end": { + "offset": 37648, + "line": 1240, + "col": 66, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a52020548", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a52020518", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 37527, + "line": 1239, + "col": 15, + "tokLen": 12 + }, + "end": { + "offset": 37648, + "line": 1240, + "col": 66, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a52020500", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 37540, + "line": 1239, + "col": 28, + "tokLen": 36 + }, + "end": { + "offset": 37610, + "line": 1240, + "col": 28, + "tokLen": 38 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a520204e8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37540, + "line": 1239, + "col": 28, + "tokLen": 36 + }, + "end": { + "offset": 37610, + "line": 1240, + "col": 28, + "tokLen": 38 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a520204c8", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 37540, + "line": 1239, + "col": 28, + "tokLen": 36 + }, + "end": { + "offset": 37610, + "line": 1240, + "col": 28, + "tokLen": 38 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a520204c0", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a52020488", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 37540, + "line": 1239, + "col": 28, + "tokLen": 36 + }, + "end": { + "offset": 37610, + "line": 1240, + "col": 28, + "tokLen": 38 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52020470", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37581, + "line": 1239, + "col": 69, + "tokLen": 1 + }, + "end": { + "offset": 37581, + "col": 69, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(basic_string, allocator> &&, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52020450", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37581, + "col": 69, + "tokLen": 1 + }, + "end": { + "offset": 37581, + "col": 69, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (basic_string, allocator> &&, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a515d5600", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (basic_string, allocator> &&, const char *)" + } + } + } + ] + }, + { + "id": "0x558a52020420", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 37540, + "col": 28, + "tokLen": 36 + }, + "end": { + "offset": 37579, + "col": 67, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "xvalue", + "storageDuration": "full expression", + "inner": [ + { + "id": "0x558a5201ffa0", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 37540, + "col": 28, + "tokLen": 36 + }, + "end": { + "offset": 37579, + "col": 67, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a5201ff98", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a5201ff60", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 37540, + "col": 28, + "tokLen": 36 + }, + "end": { + "offset": 37579, + "col": 67, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a5201ff48", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37577, + "col": 65, + "tokLen": 1 + }, + "end": { + "offset": 37577, + "col": 65, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a5201ff28", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37577, + "col": 65, + "tokLen": 1 + }, + "end": { + "offset": 37577, + "col": 65, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a5201ff10", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37540, + "col": 28, + "tokLen": 36 + }, + "end": { + "offset": 37540, + "col": 28, + "tokLen": 36 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a5201fa80", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 37540, + "col": 28, + "tokLen": 36 + }, + "end": { + "offset": 37540, + "col": 28, + "tokLen": 36 + } + }, + "type": { + "qualType": "const char[35]" + }, + "valueCategory": "lvalue", + "value": "\"Cannot scan uint16_t from string '\"" + } + ] + }, + { + "id": "0x558a5201fac0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37579, + "col": 67, + "tokLen": 1 + }, + "end": { + "offset": 37579, + "col": 67, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5201e6c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + }, + { + "id": "0x558a52020438", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37610, + "line": 1240, + "col": 28, + "tokLen": 38 + }, + "end": { + "offset": 37610, + "col": 28, + "tokLen": 38 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a5201ffc0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 37610, + "col": 28, + "tokLen": 38 + }, + "end": { + "offset": 37610, + "col": 28, + "tokLen": 38 + } + }, + "type": { + "qualType": "const char[37]" + }, + "valueCategory": "lvalue", + "value": "\"'. Value must be in range 0 - 65535.\"" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a52020690", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 37661, + "line": 1242, + "col": 5, + "tokLen": 6 + }, + "end": { + "offset": 37695, + "col": 39, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52020660", + "kind": "CXXStaticCastExpr", + "range": { + "begin": { + "offset": 37668, + "col": 12, + "tokLen": 11 + }, + "end": { + "offset": 37695, + "col": 39, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "unsigned short", + "qualType": "uint16_t", + "typeAliasDeclId": "0x558a50375aa0" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a52020648", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37690, + "col": 34, + "tokLen": 5 + }, + "end": { + "offset": 37690, + "col": 34, + "tokLen": 5 + } + }, + "type": { + "desugaredQualType": "unsigned short", + "qualType": "uint16_t", + "typeAliasDeclId": "0x558a50375aa0" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "isPartOfExplicitCast": true, + "inner": [ + { + "id": "0x558a52020630", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37690, + "col": 34, + "tokLen": 5 + }, + "end": { + "offset": 37690, + "col": 34, + "tokLen": 5 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "isPartOfExplicitCast": true, + "inner": [ + { + "id": "0x558a52020600", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37690, + "col": 34, + "tokLen": 5 + }, + "end": { + "offset": 37690, + "col": 34, + "tokLen": 5 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5201f4c8", + "kind": "VarDecl", + "name": "value", + "type": { + "qualType": "int" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} +{ + "id": "0x558a52020810", + "kind": "FunctionDecl", + "loc": { + "offset": 37722, + "file": "ToString.cpp", + "line": 1245, + "col": 22, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 37701, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 37856, + "line": 1248, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bc1dd0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIjEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "uint32_t (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "unsigned int" + }, + "inner": [ + { + "id": "0x558a5015ac90", + "kind": "BuiltinType", + "type": { + "qualType": "unsigned int" + } + } + ] + }, + { + "id": "0x558a52020740", + "kind": "ParmVarDecl", + "loc": { + "offset": 37750, + "line": 1245, + "col": 50, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 37731, + "col": 31, + "tokLen": 5 + }, + "end": { + "offset": 37750, + "col": 50, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a52021728", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 37753, + "col": 53, + "tokLen": 1 + }, + "end": { + "offset": 37856, + "line": 1248, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52021518", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 37759, + "line": 1246, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 37813, + "col": 59, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a520209e0", + "kind": "VarDecl", + "loc": { + "offset": 37763, + "col": 9, + "tokLen": 4 + }, + "range": { + "begin": { + "offset": 37759, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 37811, + "col": 57, + "tokLen": 2 + } + }, + "isUsed": true, + "name": "base", + "type": { + "qualType": "int" + }, + "init": "c", + "inner": [ + { + "id": "0x558a520214e8", + "kind": "ConditionalOperator", + "range": { + "begin": { + "offset": 37770, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 37811, + "col": 57, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52021488", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 37770, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 37799, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "!=", + "inner": [ + { + "id": "0x558a52021360", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 37770, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 37781, + "col": 27, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52021330", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 37770, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 37772, + "col": 18, + "tokLen": 4 + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "find", + "isArrow": false, + "referencedMemberDecl": "0x558a50c9b598", + "inner": [ + { + "id": "0x558a52020a48", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37770, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 37770, + "col": 16, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52020740", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + }, + { + "id": "0x558a52021390", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37777, + "col": 23, + "tokLen": 4 + }, + "end": { + "offset": 37777, + "col": 23, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52020ae0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 37777, + "col": 23, + "tokLen": 4 + }, + "end": { + "offset": 37777, + "col": 23, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"0x\"" + } + ] + }, + { + "id": "0x558a520213a8", + "kind": "CXXDefaultArgExpr", + "range": { + "begin": {}, + "end": {} + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201d188", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 101453, + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/bits/basic_string.h", + "line": 2973, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a50b7f990", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a52021470", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37786, + "file": "ToString.cpp", + "line": 1246, + "col": 32, + "tokLen": 3 + }, + "end": { + "offset": 37799, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a52021440", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37786, + "col": 32, + "tokLen": 3 + }, + "end": { + "offset": 37799, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "desugaredQualType": "const unsigned long", + "qualType": "const typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a518bd2a0", + "kind": "VarDecl", + "name": "npos", + "type": { + "desugaredQualType": "const unsigned long", + "qualType": "const typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + } + }, + "nonOdrUseReason": "constant" + } + ] + } + ] + }, + { + "id": "0x558a520214a8", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 37806, + "col": 52, + "tokLen": 2 + }, + "end": { + "offset": 37806, + "col": 52, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "16" + }, + { + "id": "0x558a520214c8", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 37811, + "col": 57, + "tokLen": 2 + }, + "end": { + "offset": 37811, + "col": 57, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "10" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a52021718", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 37819, + "line": 1247, + "col": 5, + "tokLen": 6 + }, + "end": { + "offset": 37853, + "col": 39, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52021700", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37826, + "col": 12, + "tokLen": 3 + }, + "end": { + "offset": 37853, + "col": 39, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "unsigned int", + "qualType": "uint32_t", + "typeAliasDeclId": "0x558a50375b08" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a52021698", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 37826, + "col": 12, + "tokLen": 3 + }, + "end": { + "offset": 37853, + "col": 39, + "tokLen": 1 + } + }, + "type": { + "qualType": "unsigned long" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52021680", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37826, + "col": 12, + "tokLen": 3 + }, + "end": { + "offset": 37831, + "col": 17, + "tokLen": 5 + } + }, + "type": { + "qualType": "unsigned long (*)(const string &, size_t *, int)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a520215f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37826, + "col": 12, + "tokLen": 3 + }, + "end": { + "offset": 37831, + "col": 17, + "tokLen": 5 + } + }, + "type": { + "qualType": "unsigned long (const string &, size_t *, int)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a50cac0f8", + "kind": "FunctionDecl", + "name": "stoul", + "type": { + "qualType": "unsigned long (const string &, size_t *, int)" + } + } + } + ] + }, + { + "id": "0x558a520215a0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37837, + "col": 23, + "tokLen": 1 + }, + "end": { + "offset": 37837, + "col": 23, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52020740", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a520216d0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37840, + "col": 26, + "tokLen": 7 + }, + "end": { + "offset": 37840, + "col": 26, + "tokLen": 7 + } + }, + "type": { + "qualType": "size_t *" + }, + "valueCategory": "prvalue", + "castKind": "NullToPointer", + "inner": [ + { + "id": "0x558a520215c0", + "kind": "CXXNullPtrLiteralExpr", + "range": { + "begin": { + "offset": 37840, + "col": 26, + "tokLen": 7 + }, + "end": { + "offset": 37840, + "col": 26, + "tokLen": 7 + } + }, + "type": { + "qualType": "std::nullptr_t" + }, + "valueCategory": "prvalue" + } + ] + }, + { + "id": "0x558a520216e8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37849, + "col": 35, + "tokLen": 4 + }, + "end": { + "offset": 37849, + "col": 35, + "tokLen": 4 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a520215d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37849, + "col": 35, + "tokLen": 4 + }, + "end": { + "offset": 37849, + "col": 35, + "tokLen": 4 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a520209e0", + "kind": "VarDecl", + "name": "base", + "type": { + "qualType": "int" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} +{ + "id": "0x558a52021880", + "kind": "FunctionDecl", + "loc": { + "offset": 37880, + "file": "ToString.cpp", + "line": 1250, + "col": 22, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 37859, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 38015, + "line": 1253, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bc22a0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToImEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "uint64_t (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "unsigned long" + }, + "inner": [ + { + "id": "0x558a5015acb0", + "kind": "BuiltinType", + "type": { + "qualType": "unsigned long" + } + } + ] + }, + { + "id": "0x558a520217b8", + "kind": "ParmVarDecl", + "loc": { + "offset": 37908, + "line": 1250, + "col": 50, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 37889, + "col": 31, + "tokLen": 5 + }, + "end": { + "offset": 37908, + "col": 50, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a52022798", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 37911, + "col": 53, + "tokLen": 1 + }, + "end": { + "offset": 38015, + "line": 1253, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52022588", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 37917, + "line": 1251, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 37971, + "col": 59, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52021a50", + "kind": "VarDecl", + "loc": { + "offset": 37921, + "col": 9, + "tokLen": 4 + }, + "range": { + "begin": { + "offset": 37917, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 37969, + "col": 57, + "tokLen": 2 + } + }, + "isUsed": true, + "name": "base", + "type": { + "qualType": "int" + }, + "init": "c", + "inner": [ + { + "id": "0x558a52022558", + "kind": "ConditionalOperator", + "range": { + "begin": { + "offset": 37928, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 37969, + "col": 57, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a520224f8", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 37928, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 37957, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "!=", + "inner": [ + { + "id": "0x558a520223d0", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 37928, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 37939, + "col": 27, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a520223a0", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 37928, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 37930, + "col": 18, + "tokLen": 4 + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "find", + "isArrow": false, + "referencedMemberDecl": "0x558a50c9b598", + "inner": [ + { + "id": "0x558a52021ab8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37928, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 37928, + "col": 16, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a520217b8", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + }, + { + "id": "0x558a52022400", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37935, + "col": 23, + "tokLen": 4 + }, + "end": { + "offset": 37935, + "col": 23, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52021b50", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 37935, + "col": 23, + "tokLen": 4 + }, + "end": { + "offset": 37935, + "col": 23, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"0x\"" + } + ] + }, + { + "id": "0x558a52022418", + "kind": "CXXDefaultArgExpr", + "range": { + "begin": {}, + "end": {} + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201d188", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 101453, + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/bits/basic_string.h", + "line": 2973, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a50b7f990", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a520224e0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37944, + "file": "ToString.cpp", + "line": 1251, + "col": 32, + "tokLen": 3 + }, + "end": { + "offset": 37957, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a520224b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37944, + "col": 32, + "tokLen": 3 + }, + "end": { + "offset": 37957, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "desugaredQualType": "const unsigned long", + "qualType": "const typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a518bd2a0", + "kind": "VarDecl", + "name": "npos", + "type": { + "desugaredQualType": "const unsigned long", + "qualType": "const typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + } + }, + "nonOdrUseReason": "constant" + } + ] + } + ] + }, + { + "id": "0x558a52022518", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 37964, + "col": 52, + "tokLen": 2 + }, + "end": { + "offset": 37964, + "col": 52, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "16" + }, + { + "id": "0x558a52022538", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 37969, + "col": 57, + "tokLen": 2 + }, + "end": { + "offset": 37969, + "col": 57, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "10" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a52022788", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 37977, + "line": 1252, + "col": 5, + "tokLen": 6 + }, + "end": { + "offset": 38012, + "col": 40, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52022770", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37984, + "col": 12, + "tokLen": 3 + }, + "end": { + "offset": 38012, + "col": 40, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "uint64_t", + "typeAliasDeclId": "0x558a50375b70" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a52022708", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 37984, + "col": 12, + "tokLen": 3 + }, + "end": { + "offset": 38012, + "col": 40, + "tokLen": 1 + } + }, + "type": { + "qualType": "unsigned long long" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a520226f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37984, + "col": 12, + "tokLen": 3 + }, + "end": { + "offset": 37989, + "col": 17, + "tokLen": 6 + } + }, + "type": { + "qualType": "unsigned long long (*)(const string &, size_t *, int)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52022660", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37984, + "col": 12, + "tokLen": 3 + }, + "end": { + "offset": 37989, + "col": 17, + "tokLen": 6 + } + }, + "type": { + "qualType": "unsigned long long (const string &, size_t *, int)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a50cae278", + "kind": "FunctionDecl", + "name": "stoull", + "type": { + "qualType": "unsigned long long (const string &, size_t *, int)" + } + } + } + ] + }, + { + "id": "0x558a52022610", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37996, + "col": 24, + "tokLen": 1 + }, + "end": { + "offset": 37996, + "col": 24, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a520217b8", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a52022740", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37999, + "col": 27, + "tokLen": 7 + }, + "end": { + "offset": 37999, + "col": 27, + "tokLen": 7 + } + }, + "type": { + "qualType": "size_t *" + }, + "valueCategory": "prvalue", + "castKind": "NullToPointer", + "inner": [ + { + "id": "0x558a52022630", + "kind": "CXXNullPtrLiteralExpr", + "range": { + "begin": { + "offset": 37999, + "col": 27, + "tokLen": 7 + }, + "end": { + "offset": 37999, + "col": 27, + "tokLen": 7 + } + }, + "type": { + "qualType": "std::nullptr_t" + }, + "valueCategory": "prvalue" + } + ] + }, + { + "id": "0x558a52022758", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38008, + "col": 36, + "tokLen": 4 + }, + "end": { + "offset": 38008, + "col": 36, + "tokLen": 4 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a52022640", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38008, + "col": 36, + "tokLen": 4 + }, + "end": { + "offset": 38008, + "col": 36, + "tokLen": 4 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52021a50", + "kind": "VarDecl", + "name": "base", + "type": { + "qualType": "int" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} +{ + "id": "0x558a520228f8", + "kind": "FunctionDecl", + "loc": { + "offset": 38034, + "file": "ToString.cpp", + "line": 1255, + "col": 17, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 38018, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 38167, + "line": 1258, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bc27b8", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIiEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "int (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "int" + }, + "inner": [ + { + "id": "0x558a5015abf0", + "kind": "BuiltinType", + "type": { + "qualType": "int" + } + } + ] + }, + { + "id": "0x558a52022828", + "kind": "ParmVarDecl", + "loc": { + "offset": 38062, + "line": 1255, + "col": 45, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 38043, + "col": 26, + "tokLen": 5 + }, + "end": { + "offset": 38062, + "col": 45, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a520237a0", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 38065, + "col": 48, + "tokLen": 1 + }, + "end": { + "offset": 38167, + "line": 1258, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52023608", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 38071, + "line": 1256, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 38125, + "col": 59, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52022ad0", + "kind": "VarDecl", + "loc": { + "offset": 38075, + "col": 9, + "tokLen": 4 + }, + "range": { + "begin": { + "offset": 38071, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 38123, + "col": 57, + "tokLen": 2 + } + }, + "isUsed": true, + "name": "base", + "type": { + "qualType": "int" + }, + "init": "c", + "inner": [ + { + "id": "0x558a520235d8", + "kind": "ConditionalOperator", + "range": { + "begin": { + "offset": 38082, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 38123, + "col": 57, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52023578", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 38082, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 38111, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "!=", + "inner": [ + { + "id": "0x558a52023450", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 38082, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 38093, + "col": 27, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52023420", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 38082, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 38084, + "col": 18, + "tokLen": 4 + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "find", + "isArrow": false, + "referencedMemberDecl": "0x558a50c9b598", + "inner": [ + { + "id": "0x558a52022b38", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38082, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 38082, + "col": 16, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52022828", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + }, + { + "id": "0x558a52023480", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38089, + "col": 23, + "tokLen": 4 + }, + "end": { + "offset": 38089, + "col": 23, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52022bd0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 38089, + "col": 23, + "tokLen": 4 + }, + "end": { + "offset": 38089, + "col": 23, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"0x\"" + } + ] + }, + { + "id": "0x558a52023498", + "kind": "CXXDefaultArgExpr", + "range": { + "begin": {}, + "end": {} + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201d188", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 101453, + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/bits/basic_string.h", + "line": 2973, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a50b7f990", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a52023560", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38098, + "file": "ToString.cpp", + "line": 1256, + "col": 32, + "tokLen": 3 + }, + "end": { + "offset": 38111, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a52023530", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38098, + "col": 32, + "tokLen": 3 + }, + "end": { + "offset": 38111, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "desugaredQualType": "const unsigned long", + "qualType": "const typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a518bd2a0", + "kind": "VarDecl", + "name": "npos", + "type": { + "desugaredQualType": "const unsigned long", + "qualType": "const typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + } + }, + "nonOdrUseReason": "constant" + } + ] + } + ] + }, + { + "id": "0x558a52023598", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 38118, + "col": 52, + "tokLen": 2 + }, + "end": { + "offset": 38118, + "col": 52, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "16" + }, + { + "id": "0x558a520235b8", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 38123, + "col": 57, + "tokLen": 2 + }, + "end": { + "offset": 38123, + "col": 57, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "10" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a52023790", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 38131, + "line": 1257, + "col": 5, + "tokLen": 6 + }, + "end": { + "offset": 38164, + "col": 38, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52023728", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 38138, + "col": 12, + "tokLen": 3 + }, + "end": { + "offset": 38164, + "col": 38, + "tokLen": 1 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52023710", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38138, + "col": 12, + "tokLen": 3 + }, + "end": { + "offset": 38143, + "col": 17, + "tokLen": 4 + } + }, + "type": { + "qualType": "int (*)(const string &, size_t *, int)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a520236e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38138, + "col": 12, + "tokLen": 3 + }, + "end": { + "offset": 38143, + "col": 17, + "tokLen": 4 + } + }, + "type": { + "qualType": "int (const string &, size_t *, int)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a50c62038", + "kind": "FunctionDecl", + "name": "stoi", + "type": { + "qualType": "int (const string &, size_t *, int)" + } + } + } + ] + }, + { + "id": "0x558a52023690", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38148, + "col": 22, + "tokLen": 1 + }, + "end": { + "offset": 38148, + "col": 22, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52022828", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a52023760", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38151, + "col": 25, + "tokLen": 7 + }, + "end": { + "offset": 38151, + "col": 25, + "tokLen": 7 + } + }, + "type": { + "qualType": "size_t *" + }, + "valueCategory": "prvalue", + "castKind": "NullToPointer", + "inner": [ + { + "id": "0x558a520236b0", + "kind": "CXXNullPtrLiteralExpr", + "range": { + "begin": { + "offset": 38151, + "col": 25, + "tokLen": 7 + }, + "end": { + "offset": 38151, + "col": 25, + "tokLen": 7 + } + }, + "type": { + "qualType": "std::nullptr_t" + }, + "valueCategory": "prvalue" + } + ] + }, + { + "id": "0x558a52023778", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38160, + "col": 34, + "tokLen": 4 + }, + "end": { + "offset": 38160, + "col": 34, + "tokLen": 4 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a520236c0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38160, + "col": 34, + "tokLen": 4 + }, + "end": { + "offset": 38160, + "col": 34, + "tokLen": 4 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52022ad0", + "kind": "VarDecl", + "name": "base", + "type": { + "qualType": "int" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] +} +{ + "id": "0x558a52023900", + "kind": "FunctionDecl", + "loc": { + "offset": 38187, + "file": "ToString.cpp", + "line": 1260, + "col": 18, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 38170, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 38271, + "line": 1262, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bc2c90", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIbEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "bool (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "bool" + }, + "inner": [ + { + "id": "0x558a5015ab70", + "kind": "BuiltinType", + "type": { + "qualType": "bool" + } + } + ] + }, + { + "id": "0x558a52023830", + "kind": "ParmVarDecl", + "loc": { + "offset": 38215, + "line": 1260, + "col": 46, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 38196, + "col": 27, + "tokLen": 5 + }, + "end": { + "offset": 38215, + "col": 46, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a52023cb8", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 38218, + "col": 49, + "tokLen": 1 + }, + "end": { + "offset": 38271, + "line": 1262, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52023ca8", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 38224, + "line": 1261, + "col": 5, + "tokLen": 6 + }, + "end": { + "offset": 38268, + "col": 49, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52023c78", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 38231, + "col": 12, + "tokLen": 8 + }, + "end": { + "offset": 38268, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52023c60", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38231, + "col": 12, + "tokLen": 8 + }, + "end": { + "offset": 38231, + "col": 12, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool (*)(const std::string &, defs::boolFormat)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52023be0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38231, + "col": 12, + "tokLen": 8 + }, + "end": { + "offset": 38231, + "col": 12, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool (const std::string &, defs::boolFormat)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bc3260", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "bool (const std::string &, defs::boolFormat)" + } + } + } + ] + }, + { + "id": "0x558a52023b20", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38240, + "col": 21, + "tokLen": 1 + }, + "end": { + "offset": 38240, + "col": 21, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52023830", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a52023b90", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38243, + "col": 24, + "tokLen": 4 + }, + "end": { + "offset": 38261, + "col": 42, + "tokLen": 7 + } + }, + "type": { + "qualType": "slsDetectorDefs::boolFormat" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5144bdf0", + "kind": "EnumConstantDecl", + "name": "OneZero", + "type": { + "qualType": "slsDetectorDefs::boolFormat" + } + } + } + ] + } + ] + } + ] + } + ] +} +{ + "id": "0x558a52023ed0", + "kind": "FunctionDecl", + "loc": { + "offset": 38279, + "file": "ToString.cpp", + "line": 1264, + "col": 6, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 38274, + "col": 1, + "tokLen": 4 + }, + "end": { + "offset": 39159, + "line": 1294, + "col": 1, + "tokLen": 1 + } + }, + "isUsed": true, + "previousDecl": "0x558a51bc3260", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN15slsDetectorDefs10boolFormatE", + "type": { + "qualType": "bool (const std::string &, defs::boolFormat)" + }, + "inner": [ + { + "id": "0x558a52023d28", + "kind": "ParmVarDecl", + "loc": { + "offset": 38307, + "line": 1264, + "col": 34, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 38288, + "col": 15, + "tokLen": 5 + }, + "end": { + "offset": 38307, + "col": 34, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a52023df0", + "kind": "ParmVarDecl", + "loc": { + "offset": 38327, + "col": 54, + "tokLen": 6 + }, + "range": { + "begin": { + "offset": 38310, + "col": 37, + "tokLen": 4 + }, + "end": { + "offset": 38327, + "col": 54, + "tokLen": 6 + } + }, + "isUsed": true, + "name": "format", + "type": { + "desugaredQualType": "slsDetectorDefs::boolFormat", + "qualType": "defs::boolFormat" + } + }, + { + "id": "0x558a52029c28", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 38335, + "col": 62, + "tokLen": 1 + }, + "end": { + "offset": 39159, + "line": 1294, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52023fd8", + "kind": "SwitchStmt", + "range": { + "begin": { + "offset": 38341, + "line": 1265, + "col": 5, + "tokLen": 6 + }, + "end": { + "offset": 39157, + "line": 1293, + "col": 5, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52023fc0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38349, + "line": 1265, + "col": 13, + "tokLen": 6 + }, + "end": { + "offset": 38349, + "col": 13, + "tokLen": 6 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a52023fa8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38349, + "col": 13, + "tokLen": 6 + }, + "end": { + "offset": 38349, + "col": 13, + "tokLen": 6 + } + }, + "type": { + "desugaredQualType": "slsDetectorDefs::boolFormat", + "qualType": "defs::boolFormat" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a52023f88", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38349, + "col": 13, + "tokLen": 6 + }, + "end": { + "offset": 38349, + "col": 13, + "tokLen": 6 + } + }, + "type": { + "desugaredQualType": "slsDetectorDefs::boolFormat", + "qualType": "defs::boolFormat" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52023df0", + "kind": "ParmVarDecl", + "name": "format", + "type": { + "desugaredQualType": "slsDetectorDefs::boolFormat", + "qualType": "defs::boolFormat" + } + } + } + ] + } + ] + }, + { + "id": "0x558a52029bf8", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 38357, + "col": 21, + "tokLen": 1 + }, + "end": { + "offset": 39157, + "line": 1293, + "col": 5, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a520240b8", + "kind": "CaseStmt", + "range": { + "begin": { + "offset": 38363, + "line": 1266, + "col": 5, + "tokLen": 4 + }, + "end": { + "offset": 38582, + "line": 1272, + "col": 5, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52024098", + "kind": "ConstantExpr", + "range": { + "begin": { + "offset": 38368, + "line": 1266, + "col": 10, + "tokLen": 4 + }, + "end": { + "offset": 38386, + "col": 28, + "tokLen": 9 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0", + "inner": [ + { + "id": "0x558a52024080", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38368, + "col": 10, + "tokLen": 4 + }, + "end": { + "offset": 38386, + "col": 28, + "tokLen": 9 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a52024050", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38368, + "col": 10, + "tokLen": 4 + }, + "end": { + "offset": 38386, + "col": 28, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::boolFormat" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5144bd40", + "kind": "EnumConstantDecl", + "name": "TrueFalse", + "type": { + "qualType": "slsDetectorDefs::boolFormat" + } + } + } + ] + } + ] + }, + { + "id": "0x558a52026a60", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 38397, + "col": 39, + "tokLen": 1 + }, + "end": { + "offset": 38582, + "line": 1272, + "col": 5, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52025498", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 38407, + "line": 1267, + "col": 9, + "tokLen": 2 + }, + "end": { + "offset": 38443, + "line": 1268, + "col": 20, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a52025440", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 38411, + "line": 1267, + "col": 13, + "tokLen": 1 + }, + "end": { + "offset": 38416, + "col": 18, + "tokLen": 6 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52025428", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38413, + "col": 15, + "tokLen": 2 + }, + "end": { + "offset": 38413, + "col": 15, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52025408", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38413, + "col": 15, + "tokLen": 2 + }, + "end": { + "offset": 38413, + "col": 15, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a520240e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38411, + "col": 13, + "tokLen": 1 + }, + "end": { + "offset": 38411, + "col": 13, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52023d28", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a520253f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38416, + "col": 18, + "tokLen": 6 + }, + "end": { + "offset": 38416, + "col": 18, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52024100", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 38416, + "col": 18, + "tokLen": 6 + }, + "end": { + "offset": 38416, + "col": 18, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char[5]" + }, + "valueCategory": "lvalue", + "value": "\"true\"" + } + ] + } + ] + }, + { + "id": "0x558a52025488", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 38436, + "line": 1268, + "col": 13, + "tokLen": 6 + }, + "end": { + "offset": 38443, + "col": 20, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a52025478", + "kind": "CXXBoolLiteralExpr", + "range": { + "begin": { + "offset": 38443, + "col": 20, + "tokLen": 4 + }, + "end": { + "offset": 38443, + "col": 20, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "value": true + } + ] + } + ] + }, + { + "id": "0x558a52026878", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 38457, + "line": 1269, + "col": 9, + "tokLen": 2 + }, + "end": { + "offset": 38494, + "line": 1270, + "col": 20, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a52026820", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 38461, + "line": 1269, + "col": 13, + "tokLen": 1 + }, + "end": { + "offset": 38466, + "col": 18, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52026808", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38463, + "col": 15, + "tokLen": 2 + }, + "end": { + "offset": 38463, + "col": 15, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a520267e8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38463, + "col": 15, + "tokLen": 2 + }, + "end": { + "offset": 38463, + "col": 15, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a520254b8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38461, + "col": 13, + "tokLen": 1 + }, + "end": { + "offset": 38461, + "col": 13, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52023d28", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a520267d0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38466, + "col": 18, + "tokLen": 7 + }, + "end": { + "offset": 38466, + "col": 18, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a520254d8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 38466, + "col": 18, + "tokLen": 7 + }, + "end": { + "offset": 38466, + "col": 18, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"false\"" + } + ] + } + ] + }, + { + "id": "0x558a52026868", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 38487, + "line": 1270, + "col": 13, + "tokLen": 6 + }, + "end": { + "offset": 38494, + "col": 20, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a52026858", + "kind": "CXXBoolLiteralExpr", + "range": { + "begin": { + "offset": 38494, + "col": 20, + "tokLen": 5 + }, + "end": { + "offset": 38494, + "col": 20, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "value": false + } + ] + } + ] + }, + { + "id": "0x558a52026a48", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 38509, + "line": 1271, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 38575, + "col": 75, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a52026a30", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 38509, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 38575, + "col": 75, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52026a08", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 38515, + "col": 15, + "tokLen": 12 + }, + "end": { + "offset": 38575, + "col": 75, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f849b0", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const char *)" + } + }, + "inner": [ + { + "id": "0x558a520269e8", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 38515, + "col": 15, + "tokLen": 12 + }, + "end": { + "offset": 38575, + "col": 75, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a520269e0", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a520269b0", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 38515, + "col": 15, + "tokLen": 12 + }, + "end": { + "offset": 38575, + "col": 75, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const char *)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a52026998", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38528, + "col": 28, + "tokLen": 47 + }, + "end": { + "offset": 38528, + "col": 28, + "tokLen": 47 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52026910", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 38528, + "col": 28, + "tokLen": 47 + }, + "end": { + "offset": 38528, + "col": 28, + "tokLen": 47 + } + }, + "type": { + "qualType": "const char[46]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown boolean. Expecting 'true' or 'false'.\"" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a52026b40", + "kind": "CaseStmt", + "range": { + "begin": { + "offset": 38588, + "line": 1273, + "col": 5, + "tokLen": 4 + }, + "end": { + "offset": 38795, + "line": 1279, + "col": 5, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52026b20", + "kind": "ConstantExpr", + "range": { + "begin": { + "offset": 38593, + "line": 1273, + "col": 10, + "tokLen": 4 + }, + "end": { + "offset": 38611, + "col": 28, + "tokLen": 5 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "1", + "inner": [ + { + "id": "0x558a52026b08", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38593, + "col": 10, + "tokLen": 4 + }, + "end": { + "offset": 38611, + "col": 28, + "tokLen": 5 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a52026ad8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38593, + "col": 10, + "tokLen": 4 + }, + "end": { + "offset": 38611, + "col": 28, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::boolFormat" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5144bd98", + "kind": "EnumConstantDecl", + "name": "OnOff", + "type": { + "qualType": "slsDetectorDefs::boolFormat" + } + } + } + ] + } + ] + }, + { + "id": "0x558a52029468", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 38618, + "col": 35, + "tokLen": 1 + }, + "end": { + "offset": 38795, + "line": 1279, + "col": 5, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52027f18", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 38628, + "line": 1274, + "col": 9, + "tokLen": 2 + }, + "end": { + "offset": 38662, + "line": 1275, + "col": 20, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a52027ec0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 38632, + "line": 1274, + "col": 13, + "tokLen": 1 + }, + "end": { + "offset": 38637, + "col": 18, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52027ea8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38634, + "col": 15, + "tokLen": 2 + }, + "end": { + "offset": 38634, + "col": 15, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52027e88", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38634, + "col": 15, + "tokLen": 2 + }, + "end": { + "offset": 38634, + "col": 15, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a52026b68", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38632, + "col": 13, + "tokLen": 1 + }, + "end": { + "offset": 38632, + "col": 13, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52023d28", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a52027e70", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38637, + "col": 18, + "tokLen": 4 + }, + "end": { + "offset": 38637, + "col": 18, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52026b88", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 38637, + "col": 18, + "tokLen": 4 + }, + "end": { + "offset": 38637, + "col": 18, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"on\"" + } + ] + } + ] + }, + { + "id": "0x558a52027f08", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 38655, + "line": 1275, + "col": 13, + "tokLen": 6 + }, + "end": { + "offset": 38662, + "col": 20, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a52027ef8", + "kind": "CXXBoolLiteralExpr", + "range": { + "begin": { + "offset": 38662, + "col": 20, + "tokLen": 4 + }, + "end": { + "offset": 38662, + "col": 20, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "value": true + } + ] + } + ] + }, + { + "id": "0x558a520292e8", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 38676, + "line": 1276, + "col": 9, + "tokLen": 2 + }, + "end": { + "offset": 38711, + "line": 1277, + "col": 20, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a52029290", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 38680, + "line": 1276, + "col": 13, + "tokLen": 1 + }, + "end": { + "offset": 38685, + "col": 18, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52029278", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38682, + "col": 15, + "tokLen": 2 + }, + "end": { + "offset": 38682, + "col": 15, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52029258", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38682, + "col": 15, + "tokLen": 2 + }, + "end": { + "offset": 38682, + "col": 15, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a52027f38", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38680, + "col": 13, + "tokLen": 1 + }, + "end": { + "offset": 38680, + "col": 13, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52023d28", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a52029240", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38685, + "col": 18, + "tokLen": 5 + }, + "end": { + "offset": 38685, + "col": 18, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52027f58", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 38685, + "col": 18, + "tokLen": 5 + }, + "end": { + "offset": 38685, + "col": 18, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char[4]" + }, + "valueCategory": "lvalue", + "value": "\"off\"" + } + ] + } + ] + }, + { + "id": "0x558a520292d8", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 38704, + "line": 1277, + "col": 13, + "tokLen": 6 + }, + "end": { + "offset": 38711, + "col": 20, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a520292c8", + "kind": "CXXBoolLiteralExpr", + "range": { + "begin": { + "offset": 38711, + "col": 20, + "tokLen": 5 + }, + "end": { + "offset": 38711, + "col": 20, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "value": false + } + ] + } + ] + }, + { + "id": "0x558a52029450", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 38726, + "line": 1278, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 38788, + "col": 71, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a52029438", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 38726, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 38788, + "col": 71, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52029410", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 38732, + "col": 15, + "tokLen": 12 + }, + "end": { + "offset": 38788, + "col": 71, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f849b0", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const char *)" + } + }, + "inner": [ + { + "id": "0x558a520293f0", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 38732, + "col": 15, + "tokLen": 12 + }, + "end": { + "offset": 38788, + "col": 71, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a520293e8", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a520293b8", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 38732, + "col": 15, + "tokLen": 12 + }, + "end": { + "offset": 38788, + "col": 71, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const char *)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a520293a0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38745, + "col": 28, + "tokLen": 43 + }, + "end": { + "offset": 38745, + "col": 28, + "tokLen": 43 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52029318", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 38745, + "col": 28, + "tokLen": 43 + }, + "end": { + "offset": 38745, + "col": 28, + "tokLen": 43 + } + }, + "type": { + "qualType": "const char[42]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown boolean. Expecting 'on' or 'off'.\"" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a52029548", + "kind": "CaseStmt", + "range": { + "begin": { + "offset": 38801, + "line": 1280, + "col": 5, + "tokLen": 4 + }, + "end": { + "offset": 39083, + "line": 1290, + "col": 5, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52029528", + "kind": "ConstantExpr", + "range": { + "begin": { + "offset": 38806, + "line": 1280, + "col": 10, + "tokLen": 4 + }, + "end": { + "offset": 38824, + "col": 28, + "tokLen": 7 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "2", + "inner": [ + { + "id": "0x558a52029510", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38806, + "col": 10, + "tokLen": 4 + }, + "end": { + "offset": 38824, + "col": 28, + "tokLen": 7 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a520294e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38806, + "col": 10, + "tokLen": 4 + }, + "end": { + "offset": 38824, + "col": 28, + "tokLen": 7 + } + }, + "type": { + "qualType": "slsDetectorDefs::boolFormat" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5144bdf0", + "kind": "EnumConstantDecl", + "name": "OneZero", + "type": { + "qualType": "slsDetectorDefs::boolFormat" + } + } + } + ] + } + ] + }, + { + "id": "0x558a52029a70", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 38833, + "col": 37, + "tokLen": 1 + }, + "end": { + "offset": 39083, + "line": 1290, + "col": 5, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52029748", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 38843, + "line": 1281, + "col": 9, + "tokLen": 3 + }, + "end": { + "offset": 38876, + "col": 42, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52029588", + "kind": "VarDecl", + "loc": { + "offset": 38847, + "col": 13, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 38843, + "col": 9, + "tokLen": 3 + }, + "end": { + "offset": 38875, + "col": 41, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "i", + "type": { + "qualType": "int" + }, + "init": "c", + "inner": [ + { + "id": "0x558a520296f8", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 38851, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 38875, + "col": 41, + "tokLen": 1 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a520296e0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38851, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 38856, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "int (*)(const string &, size_t *, int)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a520296b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38851, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 38856, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "int (const string &, size_t *, int)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a50c62038", + "kind": "FunctionDecl", + "name": "stoi", + "type": { + "qualType": "int (const string &, size_t *, int)" + } + } + } + ] + }, + { + "id": "0x558a52029660", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38861, + "col": 27, + "tokLen": 1 + }, + "end": { + "offset": 38861, + "col": 27, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52023d28", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a52029730", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38864, + "col": 30, + "tokLen": 7 + }, + "end": { + "offset": 38864, + "col": 30, + "tokLen": 7 + } + }, + "type": { + "qualType": "size_t *" + }, + "valueCategory": "prvalue", + "castKind": "NullToPointer", + "inner": [ + { + "id": "0x558a52029680", + "kind": "CXXNullPtrLiteralExpr", + "range": { + "begin": { + "offset": 38864, + "col": 30, + "tokLen": 7 + }, + "end": { + "offset": 38864, + "col": 30, + "tokLen": 7 + } + }, + "type": { + "qualType": "std::nullptr_t" + }, + "valueCategory": "prvalue" + } + ] + }, + { + "id": "0x558a52029690", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 38873, + "col": 39, + "tokLen": 2 + }, + "end": { + "offset": 38873, + "col": 39, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "10" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a52029798", + "kind": "SwitchStmt", + "range": { + "begin": { + "offset": 38886, + "line": 1282, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 39077, + "line": 1289, + "col": 9, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52029780", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38894, + "line": 1282, + "col": 17, + "tokLen": 1 + }, + "end": { + "offset": 38894, + "col": 17, + "tokLen": 1 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a52029760", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38894, + "col": 17, + "tokLen": 1 + }, + "end": { + "offset": 38894, + "col": 17, + "tokLen": 1 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52029588", + "kind": "VarDecl", + "name": "i", + "type": { + "qualType": "int" + } + } + } + ] + }, + { + "id": "0x558a52029a48", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 38897, + "col": 20, + "tokLen": 1 + }, + "end": { + "offset": 39077, + "line": 1289, + "col": 9, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52029800", + "kind": "CaseStmt", + "range": { + "begin": { + "offset": 38907, + "line": 1283, + "col": 9, + "tokLen": 4 + }, + "end": { + "offset": 38934, + "line": 1284, + "col": 20, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a520297e0", + "kind": "ConstantExpr", + "range": { + "begin": { + "offset": 38912, + "line": 1283, + "col": 14, + "tokLen": 1 + }, + "end": { + "offset": 38912, + "col": 14, + "tokLen": 1 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0", + "inner": [ + { + "id": "0x558a520297c0", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 38912, + "col": 14, + "tokLen": 1 + }, + "end": { + "offset": 38912, + "col": 14, + "tokLen": 1 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0" + } + ] + }, + { + "id": "0x558a52029838", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 38927, + "line": 1284, + "col": 13, + "tokLen": 6 + }, + "end": { + "offset": 38934, + "col": 20, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a52029828", + "kind": "CXXBoolLiteralExpr", + "range": { + "begin": { + "offset": 38934, + "col": 20, + "tokLen": 5 + }, + "end": { + "offset": 38934, + "col": 20, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "value": false + } + ] + } + ] + }, + { + "id": "0x558a52029888", + "kind": "CaseStmt", + "range": { + "begin": { + "offset": 38949, + "line": 1285, + "col": 9, + "tokLen": 4 + }, + "end": { + "offset": 38976, + "line": 1286, + "col": 20, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a52029868", + "kind": "ConstantExpr", + "range": { + "begin": { + "offset": 38954, + "line": 1285, + "col": 14, + "tokLen": 1 + }, + "end": { + "offset": 38954, + "col": 14, + "tokLen": 1 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "1", + "inner": [ + { + "id": "0x558a52029848", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 38954, + "col": 14, + "tokLen": 1 + }, + "end": { + "offset": 38954, + "col": 14, + "tokLen": 1 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "1" + } + ] + }, + { + "id": "0x558a520298c0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 38969, + "line": 1286, + "col": 13, + "tokLen": 6 + }, + "end": { + "offset": 38976, + "col": 20, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a520298b0", + "kind": "CXXBoolLiteralExpr", + "range": { + "begin": { + "offset": 38976, + "col": 20, + "tokLen": 4 + }, + "end": { + "offset": 38976, + "col": 20, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "value": true + } + ] + } + ] + }, + { + "id": "0x558a52029a28", + "kind": "DefaultStmt", + "range": { + "begin": { + "offset": 38990, + "line": 1287, + "col": 9, + "tokLen": 7 + }, + "end": { + "offset": 39066, + "line": 1288, + "col": 68, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52029a10", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 39011, + "col": 13, + "tokLen": 5 + }, + "end": { + "offset": 39066, + "col": 68, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a520299f8", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 39011, + "col": 13, + "tokLen": 5 + }, + "end": { + "offset": 39066, + "col": 68, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a520299d0", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 39017, + "col": 19, + "tokLen": 12 + }, + "end": { + "offset": 39066, + "col": 68, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f849b0", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const char *)" + } + }, + "inner": [ + { + "id": "0x558a520299b0", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 39017, + "col": 19, + "tokLen": 12 + }, + "end": { + "offset": 39066, + "col": 68, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a520299a8", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a52029978", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 39017, + "col": 19, + "tokLen": 12 + }, + "end": { + "offset": 39066, + "col": 68, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const char *)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a52029960", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 39030, + "col": 32, + "tokLen": 36 + }, + "end": { + "offset": 39030, + "col": 32, + "tokLen": 36 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a520298e0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 39030, + "col": 32, + "tokLen": 36 + }, + "end": { + "offset": 39030, + "col": 32, + "tokLen": 36 + } + }, + "type": { + "qualType": "const char[35]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown boolean. Expecting 0 or 1.\"" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a52029bd8", + "kind": "DefaultStmt", + "range": { + "begin": { + "offset": 39089, + "line": 1291, + "col": 5, + "tokLen": 7 + }, + "end": { + "offset": 39150, + "line": 1292, + "col": 53, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52029bc0", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 39106, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 39150, + "col": 53, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a52029ba8", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 39106, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 39150, + "col": 53, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52029b80", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 39112, + "col": 15, + "tokLen": 12 + }, + "end": { + "offset": 39150, + "col": 53, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f849b0", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const char *)" + } + }, + "inner": [ + { + "id": "0x558a52029b60", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 39112, + "col": 15, + "tokLen": 12 + }, + "end": { + "offset": 39150, + "col": 53, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a52029b58", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a52029b28", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 39112, + "col": 15, + "tokLen": 12 + }, + "end": { + "offset": 39150, + "col": 53, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const char *)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a52029b10", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 39125, + "col": 28, + "tokLen": 25 + }, + "end": { + "offset": 39125, + "col": 28, + "tokLen": 25 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52029aa0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 39125, + "col": 28, + "tokLen": 25 + }, + "end": { + "offset": 39125, + "col": 28, + "tokLen": 25 + } + }, + "type": { + "qualType": "const char[24]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown boolean format.\"" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} +{ + "id": "0x558a52029d80", + "kind": "FunctionDecl", + "loc": { + "offset": 39182, + "file": "ToString.cpp", + "line": 1296, + "col": 21, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 39162, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 39315, + "line": 1299, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bc34a0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIlEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "int64_t (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "long" + }, + "inner": [ + { + "id": "0x558a5015ac10", + "kind": "BuiltinType", + "type": { + "qualType": "long" + } + } + ] + }, + { + "id": "0x558a52029cb0", + "kind": "ParmVarDecl", + "loc": { + "offset": 39210, + "line": 1296, + "col": 49, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 39191, + "col": 30, + "tokLen": 5 + }, + "end": { + "offset": 39210, + "col": 49, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a5202ac80", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 39213, + "col": 52, + "tokLen": 1 + }, + "end": { + "offset": 39315, + "line": 1299, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a5202aa88", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 39219, + "line": 1297, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 39273, + "col": 59, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52029f50", + "kind": "VarDecl", + "loc": { + "offset": 39223, + "col": 9, + "tokLen": 4 + }, + "range": { + "begin": { + "offset": 39219, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 39271, + "col": 57, + "tokLen": 2 + } + }, + "isUsed": true, + "name": "base", + "type": { + "qualType": "int" + }, + "init": "c", + "inner": [ + { + "id": "0x558a5202aa58", + "kind": "ConditionalOperator", + "range": { + "begin": { + "offset": 39230, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 39271, + "col": 57, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5202a9f8", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 39230, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 39259, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "!=", + "inner": [ + { + "id": "0x558a5202a8d0", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 39230, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 39241, + "col": 27, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5202a8a0", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 39230, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 39232, + "col": 18, + "tokLen": 4 + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "find", + "isArrow": false, + "referencedMemberDecl": "0x558a50c9b598", + "inner": [ + { + "id": "0x558a52029fb8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 39230, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 39230, + "col": 16, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52029cb0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + }, + { + "id": "0x558a5202a900", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 39237, + "col": 23, + "tokLen": 4 + }, + "end": { + "offset": 39237, + "col": 23, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a5202a050", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 39237, + "col": 23, + "tokLen": 4 + }, + "end": { + "offset": 39237, + "col": 23, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"0x\"" + } + ] + }, + { + "id": "0x558a5202a918", + "kind": "CXXDefaultArgExpr", + "range": { + "begin": {}, + "end": {} + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201d188", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 101453, + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/bits/basic_string.h", + "line": 2973, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a50b7f990", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a5202a9e0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 39246, + "file": "ToString.cpp", + "line": 1297, + "col": 32, + "tokLen": 3 + }, + "end": { + "offset": 39259, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a5202a9b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 39246, + "col": 32, + "tokLen": 3 + }, + "end": { + "offset": 39259, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "desugaredQualType": "const unsigned long", + "qualType": "const typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a518bd2a0", + "kind": "VarDecl", + "name": "npos", + "type": { + "desugaredQualType": "const unsigned long", + "qualType": "const typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + } + }, + "nonOdrUseReason": "constant" + } + ] + } + ] + }, + { + "id": "0x558a5202aa18", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 39266, + "col": 52, + "tokLen": 2 + }, + "end": { + "offset": 39266, + "col": 52, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "16" + }, + { + "id": "0x558a5202aa38", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 39271, + "col": 57, + "tokLen": 2 + }, + "end": { + "offset": 39271, + "col": 57, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "10" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a5202ac70", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 39279, + "line": 1298, + "col": 5, + "tokLen": 6 + }, + "end": { + "offset": 39312, + "col": 38, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a5202ac08", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 39286, + "col": 12, + "tokLen": 3 + }, + "end": { + "offset": 39312, + "col": 38, + "tokLen": 1 + } + }, + "type": { + "qualType": "long" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5202abf0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 39286, + "col": 12, + "tokLen": 3 + }, + "end": { + "offset": 39291, + "col": 17, + "tokLen": 4 + } + }, + "type": { + "qualType": "long (*)(const string &, size_t *, int)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a5202ab60", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 39286, + "col": 12, + "tokLen": 3 + }, + "end": { + "offset": 39291, + "col": 17, + "tokLen": 4 + } + }, + "type": { + "qualType": "long (const string &, size_t *, int)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a50cab248", + "kind": "FunctionDecl", + "name": "stol", + "type": { + "qualType": "long (const string &, size_t *, int)" + } + } + } + ] + }, + { + "id": "0x558a5202ab10", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 39296, + "col": 22, + "tokLen": 1 + }, + "end": { + "offset": 39296, + "col": 22, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52029cb0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a5202ac40", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 39299, + "col": 25, + "tokLen": 7 + }, + "end": { + "offset": 39299, + "col": 25, + "tokLen": 7 + } + }, + "type": { + "qualType": "size_t *" + }, + "valueCategory": "prvalue", + "castKind": "NullToPointer", + "inner": [ + { + "id": "0x558a5202ab30", + "kind": "CXXNullPtrLiteralExpr", + "range": { + "begin": { + "offset": 39299, + "col": 25, + "tokLen": 7 + }, + "end": { + "offset": 39299, + "col": 25, + "tokLen": 7 + } + }, + "type": { + "qualType": "std::nullptr_t" + }, + "valueCategory": "prvalue" + } + ] + }, + { + "id": "0x558a5202ac58", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 39308, + "col": 34, + "tokLen": 4 + }, + "end": { + "offset": 39308, + "col": 34, + "tokLen": 4 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a5202ab40", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 39308, + "col": 34, + "tokLen": 4 + }, + "end": { + "offset": 39308, + "col": 34, + "tokLen": 4 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52029f50", + "kind": "VarDecl", + "name": "base", + "type": { + "qualType": "int" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] +} diff --git a/slsDetectorSoftware/generator/autocomplete/fixed.json b/slsDetectorSoftware/generator/autocomplete/fixed.json new file mode 100644 index 000000000..d1e7768df --- /dev/null +++ b/slsDetectorSoftware/generator/autocomplete/fixed.json @@ -0,0 +1,76731 @@ +[ +{ + "id": "0x558a51b80fb8", + "kind": "FunctionTemplateDecl", + "loc": { + "offset": 9823, + "file": "../include/sls/ToString.h", + "line": 305, + "col": 3, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 9744, + "line": 304, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10664, + "line": 327, + "col": 1, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "StringTo", + "inner": [ + { + "id": "0x558a51b80680", + "kind": "TemplateTypeParmDecl", + "loc": { + "offset": 9763, + "line": 304, + "col": 20, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 9754, + "col": 11, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9763, + "col": 20, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "T", + "tagUsed": "typename", + "depth": 0, + "index": 0 + }, + { + "id": "0x558a51b80c40", + "kind": "NonTypeTemplateParmDecl", + "loc": { + "offset": 9816, + "col": 73, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 9766, + "col": 23, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9818, + "col": 75, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "typename enable_if::value, int>::type", + "qualType": "std::enable_if_t::value, int>" + }, + "depth": 0, + "index": 1, + "defaultArg": { + "kind": "TemplateArgument", + "isExpr": true + }, + "inner": [ + { + "kind": "TemplateArgument", + "range": { + "begin": { + "offset": 9818, + "col": 75, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9818, + "col": 75, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isExpr": true, + "inner": [ + { + "id": "0x558a51b80be8", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 9818, + "col": 75, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9818, + "col": 75, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0" + } + ] + } + ] + }, + { + "id": "0x558a51b80f10", + "kind": "FunctionDecl", + "loc": { + "offset": 9823, + "line": 305, + "col": 3, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 9821, + "col": 1, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10664, + "line": 327, + "col": 1, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "StringTo", + "type": { + "qualType": "T (const std::string &, const std::string &)" + }, + "inner": [ + { + "id": "0x558a51b80d38", + "kind": "ParmVarDecl", + "loc": { + "offset": 9851, + "line": 305, + "col": 31, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 9832, + "col": 12, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9851, + "col": 31, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "t", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51b80df8", + "kind": "ParmVarDecl", + "loc": { + "offset": 9873, + "col": 53, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 9854, + "col": 34, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9873, + "col": 53, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "unit", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51bb5ed8", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 9879, + "col": 59, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10664, + "line": 327, + "col": 1, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51b811e0", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 9885, + "line": 306, + "col": 5, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9899, + "col": 19, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51b810a0", + "kind": "VarDecl", + "loc": { + "offset": 9892, + "col": 12, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 9885, + "col": 5, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9898, + "col": 18, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "tval", + "type": { + "qualType": "double" + }, + "init": "list", + "inner": [ + { + "id": "0x558a51b81180", + "kind": "InitListExpr", + "range": { + "begin": { + "offset": 9896, + "col": 16, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9898, + "col": 18, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51b811c0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 9897, + "col": 17, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9897, + "col": 17, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "prvalue", + "castKind": "IntegralToFloating", + "inner": [ + { + "id": "0x558a51b81108", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 9897, + "col": 17, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9897, + "col": 17, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0" + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51b81718", + "kind": "CXXTryStmt", + "range": { + "begin": { + "offset": 9905, + "line": 307, + "col": 5, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10055, + "line": 311, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51b813c8", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 9909, + "line": 307, + "col": 9, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9944, + "line": 309, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51b813a8", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 9919, + "line": 308, + "col": 9, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9937, + "col": 27, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "lvalue", + "opcode": "=", + "inner": [ + { + "id": "0x558a51b811f8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 9919, + "col": 9, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9919, + "col": 9, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b810a0", + "kind": "VarDecl", + "name": "tval", + "type": { + "qualType": "double" + } + } + }, + { + "id": "0x558a51b81358", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 9926, + "col": 16, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9937, + "col": 27, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51b81340", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 9926, + "col": 16, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9931, + "col": 21, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double (*)(const string &, size_t *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51b812a8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 9926, + "col": 16, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9931, + "col": 21, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double (const string &, size_t *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a50caf2a8", + "kind": "FunctionDecl", + "name": "stod", + "type": { + "qualType": "double (const string &, size_t *)" + } + } + } + ] + }, + { + "id": "0x558a51b81288", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 9936, + "col": 26, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9936, + "col": 26, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b80d38", + "kind": "ParmVarDecl", + "name": "t", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51b81388", + "kind": "CXXDefaultArgExpr", + "range": { + "begin": {}, + "end": {} + }, + "type": { + "qualType": "size_t *" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a50caf1d8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 159105, + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/bits/basic_string.h", + "line": 4489, + "col": 45, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 159105, + "col": 45, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "qualType": "size_t *" + }, + "valueCategory": "prvalue", + "castKind": "NullToPointer", + "inner": [ + { + "id": "0x558a50caf1b8", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 159105, + "col": 45, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 159105, + "col": 45, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0" + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51b816f8", + "kind": "CXXCatchStmt", + "range": { + "begin": { + "offset": 9946, + "file": "../include/sls/ToString.h", + "line": 309, + "col": 7, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10055, + "line": 311, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51b81498", + "kind": "VarDecl", + "loc": { + "offset": 9982, + "line": 309, + "col": 43, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 9953, + "col": 14, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 9982, + "col": 43, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "e", + "type": { + "qualType": "const std::invalid_argument &" + } + }, + { + "id": "0x558a51b816e0", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 9985, + "col": 46, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10055, + "line": 311, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51b816c8", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 9995, + "line": 310, + "col": 9, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10048, + "col": 62, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51b816b0", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 9995, + "col": 9, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10048, + "col": 62, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51b81688", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 10001, + "col": 15, + "tokLen": 12, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10048, + "col": 62, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f849b0", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const char *)" + } + }, + "inner": [ + { + "id": "0x558a51b81668", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 10001, + "col": 15, + "tokLen": 12, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10048, + "col": 62, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51b81660", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51b81630", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 10001, + "col": 15, + "tokLen": 12, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10048, + "col": 62, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const char *)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51b815e8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10014, + "col": 28, + "tokLen": 34, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10014, + "col": 28, + "tokLen": 34, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51b81570", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 10014, + "col": 28, + "tokLen": 34, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10014, + "col": 28, + "tokLen": 34, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char[33]" + }, + "valueCategory": "lvalue", + "value": "\"Could not convert string to time\"" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51b817f0", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 10062, + "line": 313, + "col": 5, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10089, + "col": 32, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51b81748", + "kind": "UsingDecl", + "loc": { + "offset": 10081, + "col": 24, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 10062, + "col": 5, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10081, + "col": 24, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "std::chrono::duration" + } + ] + }, + { + "id": "0x558a51b818c0", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 10095, + "line": 314, + "col": 5, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10127, + "col": 37, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51b81818", + "kind": "UsingDecl", + "loc": { + "offset": 10114, + "col": 24, + "tokLen": 13, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 10095, + "col": 5, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10114, + "col": 24, + "tokLen": 13, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "std::chrono::duration_cast" + } + ] + }, + { + "id": "0x558a51bb5ea8", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 10133, + "line": 315, + "col": 5, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10662, + "line": 326, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "hasElse": true, + "inner": [ + { + "id": "0x558a51b82c30", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 10137, + "line": 315, + "col": 9, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10145, + "col": 17, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51b82c18", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10142, + "col": 14, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10142, + "col": 14, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51b82bf8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 10142, + "col": 14, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10142, + "col": 14, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51b818d8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 10137, + "col": 9, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10137, + "col": 9, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b80df8", + "kind": "ParmVarDecl", + "name": "unit", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51b82be0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10145, + "col": 17, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10145, + "col": 17, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51b818f8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 10145, + "col": 17, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10145, + "col": 17, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"ns\"" + } + ] + } + ] + }, + { + "id": "0x558a51b961b8", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 10151, + "col": 23, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10225, + "line": 317, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51b961a8", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 10161, + "line": 316, + "col": 9, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10218, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51b96180", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 10168, + "col": 16, + "tokLen": 13, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10218, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51b82c90", + "kind": "UnresolvedLookupExpr", + "range": { + "begin": { + "offset": 10168, + "col": 16, + "tokLen": 13, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10183, + "col": 31, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "lvalue", + "usesADL": true, + "name": "duration_cast", + "lookups": [ + { + "id": "0x558a51b81870", + "kind": "UsingShadowDecl", + "name": "duration_cast" + } + ], + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "T" + }, + "inner": [ + { + "id": "0x558a51b806d0", + "kind": "TemplateTypeParmType", + "type": { + "qualType": "T" + }, + "isDependent": true, + "isInstantiationDependent": true, + "depth": 0, + "index": 0, + "decl": { + "id": "0x558a51b80680", + "kind": "TemplateTypeParmDecl", + "name": "T" + } + } + ] + } + ] + }, + { + "id": "0x558a51b96158", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 10185, + "col": 33, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10217, + "col": 65, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::chrono::duration>", + "qualType": "duration" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a51b95e00", + "kind": "CXXConstructorDecl", + "name": "duration", + "type": { + "qualType": "void (const double &)" + } + }, + "inner": [ + { + "id": "0x558a51b96128", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 10185, + "col": 33, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10217, + "col": 65, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::chrono::duration>", + "qualType": "duration" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const double &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51b95f50", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10213, + "col": 61, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10213, + "col": 61, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const double" + }, + "valueCategory": "lvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51b82f70", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 10213, + "col": 61, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10213, + "col": 61, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b810a0", + "kind": "VarDecl", + "name": "tval", + "type": { + "qualType": "double" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb5e78", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 10232, + "line": 317, + "col": 12, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10662, + "line": 326, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "hasElse": true, + "inner": [ + { + "id": "0x558a51b97530", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 10236, + "line": 317, + "col": 16, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10244, + "col": 24, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51b97518", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10241, + "col": 21, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10241, + "col": 21, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51b974f8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 10241, + "col": 21, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10241, + "col": 21, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51b961d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 10236, + "col": 16, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10236, + "col": 16, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b80df8", + "kind": "ParmVarDecl", + "name": "unit", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51b974e0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10244, + "col": 24, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10244, + "col": 24, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51b961f0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 10244, + "col": 24, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10244, + "col": 24, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"us\"" + } + ] + } + ] + }, + { + "id": "0x558a51ba0a28", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 10250, + "col": 30, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10325, + "line": 319, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51ba0a18", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 10260, + "line": 318, + "col": 9, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10318, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51ba09f0", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 10267, + "col": 16, + "tokLen": 13, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10318, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51b97578", + "kind": "UnresolvedLookupExpr", + "range": { + "begin": { + "offset": 10267, + "col": 16, + "tokLen": 13, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10282, + "col": 31, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "lvalue", + "usesADL": true, + "name": "duration_cast", + "lookups": [ + { + "id": "0x558a51b81870", + "kind": "UsingShadowDecl", + "name": "duration_cast" + } + ], + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "T" + }, + "inner": [ + { + "id": "0x558a51b806d0", + "kind": "TemplateTypeParmType", + "type": { + "qualType": "T" + }, + "isDependent": true, + "isInstantiationDependent": true, + "depth": 0, + "index": 0, + "decl": { + "id": "0x558a51b80680", + "kind": "TemplateTypeParmDecl", + "name": "T" + } + } + ] + } + ] + }, + { + "id": "0x558a51ba09c8", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 10284, + "col": 33, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10317, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::chrono::duration>", + "qualType": "duration" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a51ba0670", + "kind": "CXXConstructorDecl", + "name": "duration", + "type": { + "qualType": "void (const double &)" + } + }, + "inner": [ + { + "id": "0x558a51ba0998", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 10284, + "col": 33, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10317, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::chrono::duration>", + "qualType": "duration" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const double &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51ba07c0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10313, + "col": 62, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10313, + "col": 62, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const double" + }, + "valueCategory": "lvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51b97840", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 10313, + "col": 62, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10313, + "col": 62, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b810a0", + "kind": "VarDecl", + "name": "tval", + "type": { + "qualType": "double" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb5e48", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 10332, + "line": 319, + "col": 12, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10662, + "line": 326, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "hasElse": true, + "inner": [ + { + "id": "0x558a51ba1da0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 10336, + "line": 319, + "col": 16, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10344, + "col": 24, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51ba1d88", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10341, + "col": 21, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10341, + "col": 21, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51ba1d68", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 10341, + "col": 21, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10341, + "col": 21, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51ba0a40", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 10336, + "col": 16, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10336, + "col": 16, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b80df8", + "kind": "ParmVarDecl", + "name": "unit", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51ba1d50", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10344, + "col": 24, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10344, + "col": 24, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51ba0a60", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 10344, + "col": 24, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10344, + "col": 24, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"ms\"" + } + ] + } + ] + }, + { + "id": "0x558a51bab298", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 10350, + "col": 30, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10425, + "line": 321, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bab288", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 10360, + "line": 320, + "col": 9, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10418, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bab260", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 10367, + "col": 16, + "tokLen": 13, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10418, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51ba1de8", + "kind": "UnresolvedLookupExpr", + "range": { + "begin": { + "offset": 10367, + "col": 16, + "tokLen": 13, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10382, + "col": 31, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "lvalue", + "usesADL": true, + "name": "duration_cast", + "lookups": [ + { + "id": "0x558a51b81870", + "kind": "UsingShadowDecl", + "name": "duration_cast" + } + ], + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "T" + }, + "inner": [ + { + "id": "0x558a51b806d0", + "kind": "TemplateTypeParmType", + "type": { + "qualType": "T" + }, + "isDependent": true, + "isInstantiationDependent": true, + "depth": 0, + "index": 0, + "decl": { + "id": "0x558a51b80680", + "kind": "TemplateTypeParmDecl", + "name": "T" + } + } + ] + } + ] + }, + { + "id": "0x558a51bab238", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 10384, + "col": 33, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10417, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::chrono::duration>", + "qualType": "duration" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a51baaee0", + "kind": "CXXConstructorDecl", + "name": "duration", + "type": { + "qualType": "void (const double &)" + } + }, + "inner": [ + { + "id": "0x558a51bab208", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 10384, + "col": 33, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10417, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::chrono::duration>", + "qualType": "duration" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const double &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51bab030", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10413, + "col": 62, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10413, + "col": 62, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const double" + }, + "valueCategory": "lvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51ba20b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 10413, + "col": 62, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10413, + "col": 62, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b810a0", + "kind": "VarDecl", + "name": "tval", + "type": { + "qualType": "double" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb5e18", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 10432, + "line": 321, + "col": 12, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10662, + "line": 326, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "hasElse": true, + "inner": [ + { + "id": "0x558a51bac6f0", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 10436, + "line": 321, + "col": 16, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10462, + "col": 42, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51bac610", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 10436, + "col": 16, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10444, + "col": 24, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51bac5f8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10441, + "col": 21, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10441, + "col": 21, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51bac5d8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 10441, + "col": 21, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10441, + "col": 21, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51bab2b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 10436, + "col": 16, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10436, + "col": 16, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b80df8", + "kind": "ParmVarDecl", + "name": "unit", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51bac5c0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10444, + "col": 24, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10444, + "col": 24, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51bab2d0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 10444, + "col": 24, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10444, + "col": 24, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char[2]" + }, + "valueCategory": "lvalue", + "value": "\"s\"" + } + ] + } + ] + }, + { + "id": "0x558a51bac698", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 10451, + "col": 31, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10462, + "col": 42, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bac668", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 10451, + "col": 31, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10456, + "col": 36, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "empty", + "isArrow": false, + "referencedMemberDecl": "0x558a50c83a88", + "inner": [ + { + "id": "0x558a51bac648", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 10451, + "col": 31, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10451, + "col": 31, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b80df8", + "kind": "ParmVarDecl", + "name": "unit", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb5c48", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 10465, + "col": 45, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10541, + "line": 323, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb5c38", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 10475, + "line": 322, + "col": 9, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10534, + "col": 68, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb5c10", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 10482, + "col": 16, + "tokLen": 13, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10534, + "col": 68, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bac720", + "kind": "UnresolvedLookupExpr", + "range": { + "begin": { + "offset": 10482, + "col": 16, + "tokLen": 13, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10497, + "col": 31, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "lvalue", + "usesADL": true, + "name": "duration_cast", + "lookups": [ + { + "id": "0x558a51b81870", + "kind": "UsingShadowDecl", + "name": "duration_cast" + } + ], + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "T" + }, + "inner": [ + { + "id": "0x558a51b806d0", + "kind": "TemplateTypeParmType", + "type": { + "qualType": "T" + }, + "isDependent": true, + "isInstantiationDependent": true, + "depth": 0, + "index": 0, + "decl": { + "id": "0x558a51b80680", + "kind": "TemplateTypeParmDecl", + "name": "T" + } + } + ] + } + ] + }, + { + "id": "0x558a51bb5be8", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 10499, + "col": 33, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10533, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "std::chrono::duration" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a51bb5890", + "kind": "CXXConstructorDecl", + "name": "duration", + "type": { + "qualType": "void (const double &)" + } + }, + "inner": [ + { + "id": "0x558a51bb5bb8", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 10499, + "col": 33, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10533, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "std::chrono::duration" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const double &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51bb59e0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10529, + "col": 63, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10529, + "col": 63, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const double" + }, + "valueCategory": "lvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51bac9d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 10529, + "col": 63, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10529, + "col": 63, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b810a0", + "kind": "VarDecl", + "name": "tval", + "type": { + "qualType": "double" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb5e00", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 10548, + "line": 323, + "col": 12, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10662, + "line": 326, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb5de8", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 10558, + "line": 324, + "col": 9, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10655, + "line": 325, + "col": 78, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51bb5dd0", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 10558, + "line": 324, + "col": 9, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10655, + "line": 325, + "col": 78, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb5da8", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 10564, + "line": 324, + "col": 15, + "tokLen": 12, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10655, + "line": 325, + "col": 78, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f849b0", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const char *)" + } + }, + "inner": [ + { + "id": "0x558a51bb5d88", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 10564, + "line": 324, + "col": 15, + "tokLen": 12, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10655, + "line": 325, + "col": 78, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51bb5d80", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51bb5d50", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 10564, + "line": 324, + "col": 15, + "tokLen": 12, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10655, + "line": 325, + "col": 78, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const char *)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51bb5d38", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10590, + "col": 13, + "tokLen": 65, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10590, + "col": 13, + "tokLen": 65, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51bb5ca0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 10590, + "col": 13, + "tokLen": 65, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10590, + "col": 13, + "tokLen": 65, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char[64]" + }, + "valueCategory": "lvalue", + "value": "\"Invalid unit in conversion from string to std::chrono::duration\"" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +}, +{ + "id": "0x558a51bb67e8", + "kind": "FunctionTemplateDecl", + "loc": { + "offset": 10747, + "file": "../include/sls/ToString.h", + "line": 330, + "col": 3, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 10667, + "line": 329, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11600, + "line": 354, + "col": 1, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "StringTo", + "inner": [ + { + "id": "0x558a51bb5f10", + "kind": "TemplateTypeParmDecl", + "loc": { + "offset": 10686, + "line": 329, + "col": 20, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 10677, + "col": 11, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10686, + "col": 20, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "T", + "tagUsed": "typename", + "depth": 0, + "index": 0 + }, + { + "id": "0x558a51bb64b0", + "kind": "NonTypeTemplateParmDecl", + "loc": { + "offset": 10740, + "col": 74, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 10689, + "col": 23, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10742, + "col": 76, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "typename enable_if::value, int>::type", + "qualType": "std::enable_if_t::value, int>" + }, + "depth": 0, + "index": 1, + "defaultArg": { + "kind": "TemplateArgument", + "isExpr": true + }, + "inner": [ + { + "kind": "TemplateArgument", + "range": { + "begin": { + "offset": 10742, + "col": 76, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10742, + "col": 76, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isExpr": true, + "inner": [ + { + "id": "0x558a51bb6458", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 10742, + "col": 76, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10742, + "col": 76, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0" + } + ] + } + ] + }, + { + "id": "0x558a51bb6740", + "kind": "FunctionDecl", + "loc": { + "offset": 10747, + "line": 330, + "col": 3, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 10745, + "col": 1, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11600, + "line": 354, + "col": 1, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "StringTo", + "type": { + "qualType": "T (const std::string &, const std::string &)" + }, + "inner": [ + { + "id": "0x558a51bb65a8", + "kind": "ParmVarDecl", + "loc": { + "offset": 10775, + "line": 330, + "col": 31, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 10756, + "col": 12, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10775, + "col": 31, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "f", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51bb6668", + "kind": "ParmVarDecl", + "loc": { + "offset": 10797, + "col": 53, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 10778, + "col": 34, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10797, + "col": 53, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "unit", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51bb86e0", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 10803, + "col": 59, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11600, + "line": 354, + "col": 1, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb6a20", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 10809, + "line": 331, + "col": 5, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10823, + "col": 19, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb68e0", + "kind": "VarDecl", + "loc": { + "offset": 10816, + "col": 12, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 10809, + "col": 5, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10822, + "col": 18, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "fval", + "type": { + "qualType": "double" + }, + "init": "list", + "inner": [ + { + "id": "0x558a51bb69c0", + "kind": "InitListExpr", + "range": { + "begin": { + "offset": 10820, + "col": 16, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10822, + "col": 18, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb6a00", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10821, + "col": 17, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10821, + "col": 17, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "prvalue", + "castKind": "IntegralToFloating", + "inner": [ + { + "id": "0x558a51bb6948", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 10821, + "col": 17, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10821, + "col": 17, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0" + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb6e08", + "kind": "CXXTryStmt", + "range": { + "begin": { + "offset": 10829, + "line": 332, + "col": 5, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10984, + "line": 336, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb6ba0", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 10833, + "line": 332, + "col": 9, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10868, + "line": 334, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb6b80", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 10843, + "line": 333, + "col": 9, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10861, + "col": 27, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "lvalue", + "opcode": "=", + "inner": [ + { + "id": "0x558a51bb6a38", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 10843, + "col": 9, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10843, + "col": 9, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb68e0", + "kind": "VarDecl", + "name": "fval", + "type": { + "qualType": "double" + } + } + }, + { + "id": "0x558a51bb6b30", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 10850, + "col": 16, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10861, + "col": 27, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb6b18", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10850, + "col": 16, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10855, + "col": 21, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double (*)(const string &, size_t *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51bb6ae8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 10850, + "col": 16, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10855, + "col": 21, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double (const string &, size_t *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a50caf2a8", + "kind": "FunctionDecl", + "name": "stod", + "type": { + "qualType": "double (const string &, size_t *)" + } + } + } + ] + }, + { + "id": "0x558a51bb6ac8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 10860, + "col": 26, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10860, + "col": 26, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb65a8", + "kind": "ParmVarDecl", + "name": "f", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51bb6b60", + "kind": "CXXDefaultArgExpr", + "range": { + "begin": {}, + "end": {} + }, + "type": { + "qualType": "size_t *" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a50caf1d8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 159105, + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/bits/basic_string.h", + "line": 4489, + "col": 45, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 159105, + "col": 45, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "qualType": "size_t *" + }, + "valueCategory": "prvalue", + "castKind": "NullToPointer", + "inner": [ + { + "id": "0x558a50caf1b8", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 159105, + "col": 45, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 159105, + "col": 45, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0" + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb6de8", + "kind": "CXXCatchStmt", + "range": { + "begin": { + "offset": 10870, + "file": "../include/sls/ToString.h", + "line": 334, + "col": 7, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10984, + "line": 336, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb6c10", + "kind": "VarDecl", + "loc": { + "offset": 10906, + "line": 334, + "col": 43, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 10877, + "col": 14, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10906, + "col": 43, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "e", + "type": { + "qualType": "const std::invalid_argument &" + } + }, + { + "id": "0x558a51bb6dd0", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 10909, + "col": 46, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10984, + "line": 336, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb6db8", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 10919, + "line": 335, + "col": 9, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10977, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51bb6da0", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 10919, + "col": 9, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10977, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb6d78", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 10925, + "col": 15, + "tokLen": 12, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10977, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f849b0", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const char *)" + } + }, + "inner": [ + { + "id": "0x558a51bb6d58", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 10925, + "col": 15, + "tokLen": 12, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10977, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51bb6d50", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51bb6d20", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 10925, + "col": 15, + "tokLen": 12, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10977, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const char *)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51bb6d08", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 10938, + "col": 28, + "tokLen": 39, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10938, + "col": 28, + "tokLen": 39, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51bb6c88", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 10938, + "col": 28, + "tokLen": 39, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 10938, + "col": 28, + "tokLen": 39, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char[38]" + }, + "valueCategory": "lvalue", + "value": "\"Could not convert string to frequency\"" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb7f88", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 10990, + "line": 337, + "col": 5, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11220, + "line": 342, + "col": 8, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb6e40", + "kind": "VarDecl", + "loc": { + "offset": 10995, + "line": 337, + "col": 10, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 10990, + "col": 5, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11219, + "line": 342, + "col": 7, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "unitLower", + "type": { + "qualType": "auto" + }, + "init": "c", + "inner": [ + { + "id": "0x558a51bb7f68", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 11007, + "line": 337, + "col": 22, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11219, + "line": 342, + "col": 7, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb7f40", + "kind": "LambdaExpr", + "range": { + "begin": { + "offset": 11007, + "line": 337, + "col": 22, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11217, + "line": 342, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "(lambda at ../include/sls/ToString.h:337:22)" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb6ea8", + "kind": "CXXRecordDecl", + "loc": { + "offset": 11007, + "line": 337, + "col": 22, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11007, + "col": 22, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11007, + "col": 22, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isImplicit": true, + "tagUsed": "class", + "completeDefinition": true, + "definitionData": { + "canConstDefaultInit": true, + "copyAssign": { + "hasConstParam": true, + "implicitHasConstParam": true, + "needsImplicit": true, + "trivial": true + }, + "copyCtor": { + "hasConstParam": true, + "implicitHasConstParam": true, + "needsImplicit": true, + "simple": true, + "trivial": true + }, + "defaultCtor": { + "defaultedIsConstexpr": true + }, + "dtor": { + "irrelevant": true, + "needsImplicit": true, + "simple": true, + "trivial": true + }, + "isEmpty": true, + "isLambda": true, + "isLiteral": true, + "isStandardLayout": true, + "isTriviallyCopyable": true, + "moveAssign": {}, + "moveCtor": { + "exists": true, + "needsImplicit": true, + "simple": true, + "trivial": true + } + }, + "inner": [ + { + "id": "0x558a51bb6ff0", + "kind": "CXXMethodDecl", + "loc": { + "offset": 11007, + "col": 22, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11009, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11217, + "line": 342, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "operator()", + "type": { + "qualType": "auto () const -> auto" + }, + "inline": true, + "inner": [ + { + "id": "0x558a51bb7f00", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 11011, + "line": 337, + "col": 26, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11217, + "line": 342, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb7300", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 11021, + "line": 338, + "col": 9, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11046, + "col": 34, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb7218", + "kind": "VarDecl", + "loc": { + "offset": 11033, + "col": 21, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11021, + "col": 9, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11042, + "col": 30, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "result", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "init": "c", + "inner": [ + { + "id": "0x558a51bb72d0", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 11042, + "col": 30, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11042, + "col": 30, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const basic_string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51bb7280", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11042, + "col": 30, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11042, + "col": 30, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb6668", + "kind": "ParmVarDecl", + "name": "unit", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb7e90", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 11056, + "line": 339, + "col": 9, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11187, + "line": 340, + "col": 71, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb7338", + "kind": "UnresolvedLookupExpr", + "range": { + "begin": { + "offset": 11056, + "line": 339, + "col": 9, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11061, + "col": 14, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "lvalue", + "usesADL": false, + "name": "transform", + "lookups": [ + { + "id": "0x558a51084b18", + "kind": "FunctionTemplateDecl", + "name": "transform" + }, + { + "id": "0x558a51093238", + "kind": "FunctionTemplateDecl", + "name": "transform" + }, + { + "id": "0x558a510cf5f0", + "kind": "FunctionTemplateDecl", + "name": "transform" + }, + { + "id": "0x558a510d0570", + "kind": "FunctionTemplateDecl", + "name": "transform" + } + ] + }, + { + "id": "0x558a51bb7448", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 11071, + "col": 24, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11084, + "col": 37, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator>", + "qualType": "iterator", + "typeAliasDeclId": "0x558a50c6d278" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb7418", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 11071, + "col": 24, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11078, + "col": 31, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "begin", + "isArrow": false, + "referencedMemberDecl": "0x558a50c81988", + "inner": [ + { + "id": "0x558a51bb7398", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11071, + "col": 24, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11071, + "col": 24, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb7218", + "kind": "VarDecl", + "name": "result", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51bb7518", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 11087, + "col": 40, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11098, + "col": 51, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator>", + "qualType": "iterator", + "typeAliasDeclId": "0x558a50c6d278" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb74e8", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 11087, + "col": 40, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11094, + "col": 47, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "end", + "isArrow": false, + "referencedMemberDecl": "0x558a50c81c78", + "inner": [ + { + "id": "0x558a51bb7468", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11087, + "col": 40, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11087, + "col": 40, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb7218", + "kind": "VarDecl", + "name": "result", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51bb75e8", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 11101, + "col": 54, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11114, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator>", + "qualType": "iterator", + "typeAliasDeclId": "0x558a50c6d278" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb75b8", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 11101, + "col": 54, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11108, + "col": 61, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "begin", + "isArrow": false, + "referencedMemberDecl": "0x558a50c81988", + "inner": [ + { + "id": "0x558a51bb7538", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11101, + "col": 54, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11101, + "col": 54, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb7218", + "kind": "VarDecl", + "name": "result", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51bb7e68", + "kind": "LambdaExpr", + "range": { + "begin": { + "offset": 11140, + "line": 340, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11186, + "col": 70, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "(lambda at ../include/sls/ToString.h:340:24)" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb7608", + "kind": "CXXRecordDecl", + "loc": { + "offset": 11140, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11140, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11140, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isImplicit": true, + "tagUsed": "class", + "completeDefinition": true, + "definitionData": { + "canConstDefaultInit": true, + "copyAssign": { + "hasConstParam": true, + "implicitHasConstParam": true, + "needsImplicit": true, + "trivial": true + }, + "copyCtor": { + "hasConstParam": true, + "implicitHasConstParam": true, + "needsImplicit": true, + "simple": true, + "trivial": true + }, + "defaultCtor": { + "defaultedIsConstexpr": true + }, + "dtor": { + "irrelevant": true, + "needsImplicit": true, + "simple": true, + "trivial": true + }, + "isEmpty": true, + "isLambda": true, + "isLiteral": true, + "isStandardLayout": true, + "isTriviallyCopyable": true, + "moveAssign": {}, + "moveCtor": { + "exists": true, + "needsImplicit": true, + "simple": true, + "trivial": true + } + }, + "inner": [ + { + "id": "0x558a51bb7750", + "kind": "CXXMethodDecl", + "loc": { + "offset": 11140, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11158, + "col": 42, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11186, + "col": 70, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "operator()", + "type": { + "qualType": "auto (unsigned char) const" + }, + "inline": true, + "inner": [ + { + "id": "0x558a51bb7820", + "kind": "ParmVarDecl", + "loc": { + "offset": 11157, + "col": 41, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11143, + "col": 27, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11157, + "col": 41, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "c", + "type": { + "qualType": "unsigned char" + } + }, + { + "id": "0x558a51bb7b20", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 11160, + "col": 44, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11186, + "col": 70, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb7b10", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 11162, + "col": 46, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11183, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb7ab8", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 11169, + "col": 53, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11183, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb7aa0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11169, + "col": 53, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11174, + "col": 58, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int (*)(int) noexcept(true)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51bb7a00", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11169, + "col": 53, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11174, + "col": 58, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int (int) noexcept(true)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a50760758", + "kind": "FunctionDecl", + "name": "tolower", + "type": { + "qualType": "int (int) noexcept(true)" + } + }, + "foundReferencedDecl": { + "id": "0x558a50768530", + "kind": "UsingShadowDecl", + "name": "tolower" + } + } + ] + }, + { + "id": "0x558a51bb7af8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a51bb7ae0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "unsigned char" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a51bb79e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "unsigned char" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb7820", + "kind": "ParmVarDecl", + "name": "c", + "type": { + "qualType": "unsigned char" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb7ce8", + "kind": "CXXConversionDecl", + "loc": { + "offset": 11140, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11140, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11186, + "col": 70, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isImplicit": true, + "name": "operator auto (*)(unsigned char)", + "type": { + "qualType": "auto (*() const noexcept)(unsigned char)" + }, + "inline": true, + "constexpr": true + }, + { + "id": "0x558a51bb7da0", + "kind": "CXXMethodDecl", + "loc": { + "offset": 11140, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11140, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11186, + "col": 70, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isImplicit": true, + "name": "__invoke", + "type": { + "qualType": "auto (unsigned char)" + }, + "storageClass": "static", + "inline": true, + "inner": [ + { + "id": "0x558a51bb7c80", + "kind": "ParmVarDecl", + "loc": { + "offset": 11157, + "col": 41, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11143, + "col": 27, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11157, + "col": 41, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "c", + "type": { + "qualType": "unsigned char" + } + } + ] + } + ] + }, + { + "id": "0x558a51bb7b20", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 11160, + "col": 44, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11186, + "col": 70, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb7b10", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 11162, + "col": 46, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11183, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb7ab8", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 11169, + "col": 53, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11183, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb7aa0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11169, + "col": 53, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11174, + "col": 58, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int (*)(int) noexcept(true)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51bb7a00", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11169, + "col": 53, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11174, + "col": 58, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int (int) noexcept(true)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a50760758", + "kind": "FunctionDecl", + "name": "tolower", + "type": { + "qualType": "int (int) noexcept(true)" + } + }, + "foundReferencedDecl": { + "id": "0x558a50768530", + "kind": "UsingShadowDecl", + "name": "tolower" + } + } + ] + }, + { + "id": "0x558a51bb7af8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a51bb7ae0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "unsigned char" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a51bb79e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "unsigned char" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb7820", + "kind": "ParmVarDecl", + "name": "c", + "type": { + "qualType": "unsigned char" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb7ef0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 11198, + "line": 341, + "col": 9, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11205, + "col": 16, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb7ed0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11205, + "col": 16, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11205, + "col": 16, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb7218", + "kind": "VarDecl", + "name": "result", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + } + } + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb7f00", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 11011, + "line": 337, + "col": 26, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11217, + "line": 342, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb7300", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 11021, + "line": 338, + "col": 9, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11046, + "col": 34, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb7218", + "kind": "VarDecl", + "loc": { + "offset": 11033, + "col": 21, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11021, + "col": 9, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11042, + "col": 30, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "result", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "init": "c", + "inner": [ + { + "id": "0x558a51bb72d0", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 11042, + "col": 30, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11042, + "col": 30, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const basic_string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51bb7280", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11042, + "col": 30, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11042, + "col": 30, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb6668", + "kind": "ParmVarDecl", + "name": "unit", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb7e90", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 11056, + "line": 339, + "col": 9, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11187, + "line": 340, + "col": 71, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb7338", + "kind": "UnresolvedLookupExpr", + "range": { + "begin": { + "offset": 11056, + "line": 339, + "col": 9, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11061, + "col": 14, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "lvalue", + "usesADL": false, + "name": "transform", + "lookups": [ + { + "id": "0x558a51084b18", + "kind": "FunctionTemplateDecl", + "name": "transform" + }, + { + "id": "0x558a51093238", + "kind": "FunctionTemplateDecl", + "name": "transform" + }, + { + "id": "0x558a510cf5f0", + "kind": "FunctionTemplateDecl", + "name": "transform" + }, + { + "id": "0x558a510d0570", + "kind": "FunctionTemplateDecl", + "name": "transform" + } + ] + }, + { + "id": "0x558a51bb7448", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 11071, + "col": 24, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11084, + "col": 37, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator>", + "qualType": "iterator", + "typeAliasDeclId": "0x558a50c6d278" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb7418", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 11071, + "col": 24, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11078, + "col": 31, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "begin", + "isArrow": false, + "referencedMemberDecl": "0x558a50c81988", + "inner": [ + { + "id": "0x558a51bb7398", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11071, + "col": 24, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11071, + "col": 24, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb7218", + "kind": "VarDecl", + "name": "result", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51bb7518", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 11087, + "col": 40, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11098, + "col": 51, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator>", + "qualType": "iterator", + "typeAliasDeclId": "0x558a50c6d278" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb74e8", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 11087, + "col": 40, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11094, + "col": 47, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "end", + "isArrow": false, + "referencedMemberDecl": "0x558a50c81c78", + "inner": [ + { + "id": "0x558a51bb7468", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11087, + "col": 40, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11087, + "col": 40, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb7218", + "kind": "VarDecl", + "name": "result", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51bb75e8", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 11101, + "col": 54, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11114, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator>", + "qualType": "iterator", + "typeAliasDeclId": "0x558a50c6d278" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb75b8", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 11101, + "col": 54, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11108, + "col": 61, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "begin", + "isArrow": false, + "referencedMemberDecl": "0x558a50c81988", + "inner": [ + { + "id": "0x558a51bb7538", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11101, + "col": 54, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11101, + "col": 54, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb7218", + "kind": "VarDecl", + "name": "result", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51bb7e68", + "kind": "LambdaExpr", + "range": { + "begin": { + "offset": 11140, + "line": 340, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11186, + "col": 70, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "(lambda at ../include/sls/ToString.h:340:24)" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb7608", + "kind": "CXXRecordDecl", + "loc": { + "offset": 11140, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11140, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11140, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isImplicit": true, + "tagUsed": "class", + "completeDefinition": true, + "definitionData": { + "canConstDefaultInit": true, + "copyAssign": { + "hasConstParam": true, + "implicitHasConstParam": true, + "needsImplicit": true, + "trivial": true + }, + "copyCtor": { + "hasConstParam": true, + "implicitHasConstParam": true, + "needsImplicit": true, + "simple": true, + "trivial": true + }, + "defaultCtor": { + "defaultedIsConstexpr": true + }, + "dtor": { + "irrelevant": true, + "needsImplicit": true, + "simple": true, + "trivial": true + }, + "isEmpty": true, + "isLambda": true, + "isLiteral": true, + "isStandardLayout": true, + "isTriviallyCopyable": true, + "moveAssign": {}, + "moveCtor": { + "exists": true, + "needsImplicit": true, + "simple": true, + "trivial": true + } + }, + "inner": [ + { + "id": "0x558a51bb7750", + "kind": "CXXMethodDecl", + "loc": { + "offset": 11140, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11158, + "col": 42, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11186, + "col": 70, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "operator()", + "type": { + "qualType": "auto (unsigned char) const" + }, + "inline": true, + "inner": [ + { + "id": "0x558a51bb7820", + "kind": "ParmVarDecl", + "loc": { + "offset": 11157, + "col": 41, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11143, + "col": 27, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11157, + "col": 41, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "c", + "type": { + "qualType": "unsigned char" + } + }, + { + "id": "0x558a51bb7b20", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 11160, + "col": 44, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11186, + "col": 70, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb7b10", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 11162, + "col": 46, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11183, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb7ab8", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 11169, + "col": 53, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11183, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb7aa0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11169, + "col": 53, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11174, + "col": 58, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int (*)(int) noexcept(true)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51bb7a00", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11169, + "col": 53, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11174, + "col": 58, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int (int) noexcept(true)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a50760758", + "kind": "FunctionDecl", + "name": "tolower", + "type": { + "qualType": "int (int) noexcept(true)" + } + }, + "foundReferencedDecl": { + "id": "0x558a50768530", + "kind": "UsingShadowDecl", + "name": "tolower" + } + } + ] + }, + { + "id": "0x558a51bb7af8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a51bb7ae0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "unsigned char" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a51bb79e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "unsigned char" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb7820", + "kind": "ParmVarDecl", + "name": "c", + "type": { + "qualType": "unsigned char" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb7ce8", + "kind": "CXXConversionDecl", + "loc": { + "offset": 11140, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11140, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11186, + "col": 70, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isImplicit": true, + "name": "operator auto (*)(unsigned char)", + "type": { + "qualType": "auto (*() const noexcept)(unsigned char)" + }, + "inline": true, + "constexpr": true + }, + { + "id": "0x558a51bb7da0", + "kind": "CXXMethodDecl", + "loc": { + "offset": 11140, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11140, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11186, + "col": 70, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isImplicit": true, + "name": "__invoke", + "type": { + "qualType": "auto (unsigned char)" + }, + "storageClass": "static", + "inline": true, + "inner": [ + { + "id": "0x558a51bb7c80", + "kind": "ParmVarDecl", + "loc": { + "offset": 11157, + "col": 41, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11143, + "col": 27, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11157, + "col": 41, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "c", + "type": { + "qualType": "unsigned char" + } + } + ] + } + ] + }, + { + "id": "0x558a51bb7b20", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 11160, + "col": 44, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11186, + "col": 70, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb7b10", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 11162, + "col": 46, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11183, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb7ab8", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 11169, + "col": 53, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11183, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb7aa0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11169, + "col": 53, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11174, + "col": 58, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int (*)(int) noexcept(true)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51bb7a00", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11169, + "col": 53, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11174, + "col": 58, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int (int) noexcept(true)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a50760758", + "kind": "FunctionDecl", + "name": "tolower", + "type": { + "qualType": "int (int) noexcept(true)" + } + }, + "foundReferencedDecl": { + "id": "0x558a50768530", + "kind": "UsingShadowDecl", + "name": "tolower" + } + } + ] + }, + { + "id": "0x558a51bb7af8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a51bb7ae0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "unsigned char" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a51bb79e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11182, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "unsigned char" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb7820", + "kind": "ParmVarDecl", + "name": "c", + "type": { + "qualType": "unsigned char" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb7ef0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 11198, + "line": 341, + "col": 9, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11205, + "col": 16, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb7ed0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11205, + "col": 16, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11205, + "col": 16, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb7218", + "kind": "VarDecl", + "name": "result", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb86b0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 11227, + "line": 344, + "col": 5, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11598, + "line": 353, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "hasElse": true, + "inner": [ + { + "id": "0x558a51bb7fe0", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 11231, + "line": 344, + "col": 9, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11244, + "col": 22, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "opcode": "==", + "inner": [ + { + "id": "0x558a51bb7fa0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11231, + "col": 9, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11231, + "col": 9, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "auto" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb6e40", + "kind": "VarDecl", + "name": "unitLower", + "type": { + "qualType": "auto" + } + } + }, + { + "id": "0x558a51bb7fc0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 11244, + "col": 22, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11244, + "col": 22, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char[4]" + }, + "valueCategory": "lvalue", + "value": "\"mhz\"" + } + ] + }, + { + "id": "0x558a51bb8120", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 11251, + "col": 29, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11305, + "line": 346, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb8110", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 11261, + "line": 345, + "col": 9, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11298, + "col": 46, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb80e8", + "kind": "CXXUnresolvedConstructExpr", + "range": { + "begin": { + "offset": 11268, + "col": 16, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11298, + "col": 46, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "T" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb80b8", + "kind": "CXXStaticCastExpr", + "range": { + "begin": { + "offset": 11270, + "col": 18, + "tokLen": 11, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11297, + "col": 45, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51bb80a0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11287, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11294, + "col": 42, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "FloatingToIntegral", + "isPartOfExplicitCast": true, + "inner": [ + { + "id": "0x558a51bb8068", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 11287, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11294, + "col": 42, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "prvalue", + "opcode": "*", + "inner": [ + { + "id": "0x558a51bb8050", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11287, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11287, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a51bb8010", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11287, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11287, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb68e0", + "kind": "VarDecl", + "name": "fval", + "type": { + "qualType": "double" + } + } + } + ] + }, + { + "id": "0x558a51bb8030", + "kind": "FloatingLiteral", + "range": { + "begin": { + "offset": 11294, + "col": 42, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11294, + "col": 42, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "prvalue", + "value": "1.0E+6" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb8680", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 11312, + "line": 346, + "col": 12, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11598, + "line": 353, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "hasElse": true, + "inner": [ + { + "id": "0x558a51bb8178", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 11316, + "line": 346, + "col": 16, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11329, + "col": 29, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "opcode": "==", + "inner": [ + { + "id": "0x558a51bb8138", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11316, + "col": 16, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11316, + "col": 16, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "auto" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb6e40", + "kind": "VarDecl", + "name": "unitLower", + "type": { + "qualType": "auto" + } + } + }, + { + "id": "0x558a51bb8158", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 11329, + "col": 29, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11329, + "col": 29, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char[4]" + }, + "valueCategory": "lvalue", + "value": "\"khz\"" + } + ] + }, + { + "id": "0x558a51bb82b8", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 11336, + "col": 36, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11390, + "line": 348, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb82a8", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 11346, + "line": 347, + "col": 9, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11383, + "col": 46, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb8280", + "kind": "CXXUnresolvedConstructExpr", + "range": { + "begin": { + "offset": 11353, + "col": 16, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11383, + "col": 46, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "T" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb8250", + "kind": "CXXStaticCastExpr", + "range": { + "begin": { + "offset": 11355, + "col": 18, + "tokLen": 11, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11382, + "col": 45, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51bb8238", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11372, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11379, + "col": 42, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "FloatingToIntegral", + "isPartOfExplicitCast": true, + "inner": [ + { + "id": "0x558a51bb8200", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 11372, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11379, + "col": 42, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "prvalue", + "opcode": "*", + "inner": [ + { + "id": "0x558a51bb81e8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11372, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11372, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a51bb81a8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11372, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11372, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb68e0", + "kind": "VarDecl", + "name": "fval", + "type": { + "qualType": "double" + } + } + } + ] + }, + { + "id": "0x558a51bb81c8", + "kind": "FloatingLiteral", + "range": { + "begin": { + "offset": 11379, + "col": 42, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11379, + "col": 42, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "prvalue", + "value": "1000" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb8650", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 11397, + "line": 348, + "col": 12, + "tokLen": 2, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11598, + "line": 353, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "hasElse": true, + "inner": [ + { + "id": "0x558a51bb83b8", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 11401, + "line": 348, + "col": 16, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11435, + "col": 50, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51bb8338", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 11401, + "col": 16, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11417, + "col": 32, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb82f0", + "kind": "CXXDependentScopeMemberExpr", + "range": { + "begin": { + "offset": 11401, + "col": 16, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11411, + "col": 26, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "lvalue", + "isArrow": false, + "member": "empty", + "inner": [ + { + "id": "0x558a51bb82d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11401, + "col": 16, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11401, + "col": 16, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "auto" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb6e40", + "kind": "VarDecl", + "name": "unitLower", + "type": { + "qualType": "auto" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51bb8398", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 11422, + "col": 37, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11435, + "col": 50, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "opcode": "==", + "inner": [ + { + "id": "0x558a51bb8358", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11422, + "col": 37, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11422, + "col": 37, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "auto" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb6e40", + "kind": "VarDecl", + "name": "unitLower", + "type": { + "qualType": "auto" + } + } + }, + { + "id": "0x558a51bb8378", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 11435, + "col": 50, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11435, + "col": 50, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"hz\"" + } + ] + } + ] + }, + { + "id": "0x558a51bb84b8", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 11441, + "col": 56, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11489, + "line": 350, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb84a8", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 11451, + "line": 349, + "col": 9, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11482, + "col": 40, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb8480", + "kind": "CXXUnresolvedConstructExpr", + "range": { + "begin": { + "offset": 11458, + "col": 16, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11482, + "col": 40, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "T" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb8450", + "kind": "CXXStaticCastExpr", + "range": { + "begin": { + "offset": 11460, + "col": 18, + "tokLen": 11, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11481, + "col": 39, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51bb8438", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11477, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11477, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "FloatingToIntegral", + "isPartOfExplicitCast": true, + "inner": [ + { + "id": "0x558a51bb8420", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11477, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11477, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "isPartOfExplicitCast": true, + "inner": [ + { + "id": "0x558a51bb83e8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11477, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11477, + "col": 35, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "double" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb68e0", + "kind": "VarDecl", + "name": "fval", + "type": { + "qualType": "double" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb8638", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 11496, + "line": 350, + "col": 12, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11598, + "line": 353, + "col": 5, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb8620", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 11506, + "line": 351, + "col": 9, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11591, + "line": 352, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51bb8608", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 11506, + "line": 351, + "col": 9, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11591, + "line": 352, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb85e0", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 11512, + "line": 351, + "col": 15, + "tokLen": 12, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11591, + "line": 352, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f849b0", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const char *)" + } + }, + "inner": [ + { + "id": "0x558a51bb85c0", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 11512, + "line": 351, + "col": 15, + "tokLen": 12, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11591, + "line": 352, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51bb85b8", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51bb8588", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 11512, + "line": 351, + "col": 15, + "tokLen": 12, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11591, + "line": 352, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const char *)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51bb8570", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11538, + "col": 13, + "tokLen": 53, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11538, + "col": 13, + "tokLen": 53, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51bb84e0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 11538, + "col": 13, + "tokLen": 53, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11538, + "col": 13, + "tokLen": 53, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const char[52]" + }, + "valueCategory": "lvalue", + "value": "\"Invalid unit in conversion from string to frequency\"" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +}, +{ + "id": "0x558a51bb89b8", + "kind": "FunctionTemplateDecl", + "loc": { + "offset": 11627, + "file": "../include/sls/ToString.h", + "line": 356, + "col": 25, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11603, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11752, + "line": 360, + "col": 1, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "StringTo", + "inner": [ + { + "id": "0x558a51bb8710", + "kind": "TemplateTypeParmDecl", + "loc": { + "offset": 11622, + "line": 356, + "col": 20, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11613, + "col": 11, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11622, + "col": 20, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "T", + "tagUsed": "typename", + "depth": 0, + "index": 0 + }, + { + "id": "0x558a51bb8910", + "kind": "FunctionDecl", + "loc": { + "offset": 11627, + "col": 25, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11625, + "col": 23, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11752, + "line": 360, + "col": 1, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "StringTo", + "type": { + "qualType": "T (const std::string &)" + }, + "inner": [ + { + "id": "0x558a51bb8808", + "kind": "ParmVarDecl", + "loc": { + "offset": 11655, + "line": 356, + "col": 53, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11636, + "col": 34, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11655, + "col": 53, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "t", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51bb98a8", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 11658, + "col": 56, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11752, + "line": 360, + "col": 1, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb9470", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 11664, + "line": 357, + "col": 5, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11682, + "col": 23, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb8ad8", + "kind": "VarDecl", + "loc": { + "offset": 11676, + "col": 17, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11664, + "col": 5, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11681, + "col": 22, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "tmp", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "init": "list", + "inner": [ + { + "id": "0x558a51bb9440", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 11676, + "col": 17, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11681, + "col": 22, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const basic_string &)" + }, + "list": true, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51bb8b40", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11680, + "col": 21, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11680, + "col": 21, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb8808", + "kind": "ParmVarDecl", + "name": "t", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb9758", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 11688, + "line": 358, + "col": 5, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11715, + "col": 32, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb94a0", + "kind": "VarDecl", + "loc": { + "offset": 11693, + "col": 10, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11688, + "col": 5, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11714, + "col": 31, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "unit", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "init": "c", + "inner": [ + { + "id": "0x558a51bb9740", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 11700, + "col": 17, + "tokLen": 10, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11714, + "col": 31, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51bb9638", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 11700, + "col": 17, + "tokLen": 10, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11714, + "col": 31, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "prvalue", + "temp": "0x558a51bb9630", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51bb9608", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 11700, + "col": 17, + "tokLen": 10, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11714, + "col": 31, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb95f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 11700, + "col": 17, + "tokLen": 10, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11700, + "col": 17, + "tokLen": 10, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "std::string (*)(std::string &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51bb9570", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11700, + "col": 17, + "tokLen": 10, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11700, + "col": 17, + "tokLen": 10, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "std::string (std::string &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a515dba80", + "kind": "FunctionDecl", + "name": "RemoveUnit", + "type": { + "qualType": "std::string (std::string &)" + } + } + } + ] + }, + { + "id": "0x558a51bb9550", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11711, + "col": 28, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11711, + "col": 28, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb8ad8", + "kind": "VarDecl", + "name": "tmp", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bb9898", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 11721, + "line": 359, + "col": 5, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11749, + "col": 33, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bb9868", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 11728, + "col": 12, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11749, + "col": 33, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bb97a0", + "kind": "UnresolvedLookupExpr", + "range": { + "begin": { + "offset": 11728, + "col": 12, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11738, + "col": 22, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "lvalue", + "usesADL": true, + "name": "StringTo", + "lookups": [ + { + "id": "0x558a51bb89b8", + "kind": "FunctionTemplateDecl", + "name": "StringTo" + }, + { + "id": "0x558a51bb67e8", + "kind": "FunctionTemplateDecl", + "name": "StringTo" + }, + { + "id": "0x558a51b80fb8", + "kind": "FunctionTemplateDecl", + "name": "StringTo" + } + ], + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "T" + }, + "inner": [ + { + "id": "0x558a51bb8760", + "kind": "TemplateTypeParmType", + "type": { + "qualType": "T" + }, + "isDependent": true, + "isInstantiationDependent": true, + "depth": 0, + "index": 0, + "decl": { + "id": "0x558a51bb8710", + "kind": "TemplateTypeParmDecl", + "name": "T" + } + } + ] + } + ] + }, + { + "id": "0x558a51bb9828", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11740, + "col": 24, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11740, + "col": 24, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb8ad8", + "kind": "VarDecl", + "name": "tmp", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + } + } + }, + { + "id": "0x558a51bb9848", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 11745, + "col": 29, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11745, + "col": 29, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bb94a0", + "kind": "VarDecl", + "name": "unit", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + } + } + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f0e4c0", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::detectorType (const std::string &)" + } + }, + { + "id": "0x558a51f1a4a0", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::detectorSettings (const std::string &)" + } + }, + { + "id": "0x558a51f342d0", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::speedLevel (const std::string &)" + } + }, + { + "id": "0x558a51f3ee40", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::timingMode (const std::string &)" + } + }, + { + "id": "0x558a51f45d00", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::frameDiscardPolicy (const std::string &)" + } + }, + { + "id": "0x558a51f4a3c0", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::fileFormat (const std::string &)" + } + }, + { + "id": "0x558a51f4d5d0", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::externalSignalFlag (const std::string &)" + } + }, + { + "id": "0x558a51f53080", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::readoutMode (const std::string &)" + } + }, + { + "id": "0x558a51f59f80", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::dacIndex (const std::string &)" + } + }, + { + "id": "0x558a51fdff60", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::powerIndex (const std::string &)" + } + }, + { + "id": "0x558a51fe8260", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::burstMode (const std::string &)" + } + }, + { + "id": "0x558a51fedcf0", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::timingSourceType (const std::string &)" + } + }, + { + "id": "0x558a51ff0f40", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::M3_GainCaps (const std::string &)" + } + }, + { + "id": "0x558a51ff9230", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::portPosition (const std::string &)" + } + }, + { + "id": "0x558a51ffecb0", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::streamingInterface (const std::string &)" + } + }, + { + "id": "0x558a52004ac0", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::vetoAlgorithm (const std::string &)" + } + }, + { + "id": "0x558a52007ce0", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::gainMode (const std::string &)" + } + }, + { + "id": "0x558a5200ffd0", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::polarity (const std::string &)" + } + }, + { + "id": "0x558a520131e0", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::timingInfoDecoder (const std::string &)" + } + }, + { + "id": "0x558a52016430", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "defs::collectionMode (const std::string &)" + } + }, + { + "id": "0x558a51bc0990", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "RegisterAddress (const std::string &)" + } + }, + { + "id": "0x558a51bc0ea0", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "RegisterValue (const std::string &)" + } + }, + { + "id": "0x558a52019620", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "uint8_t (const std::string &)" + } + }, + { + "id": "0x558a5201e790", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "uint16_t (const std::string &)" + } + }, + { + "id": "0x558a52020810", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "uint32_t (const std::string &)" + } + }, + { + "id": "0x558a52021880", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "uint64_t (const std::string &)" + } + }, + { + "id": "0x558a520228f8", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "int (const std::string &)" + } + }, + { + "id": "0x558a52023900", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "bool (const std::string &)" + } + }, + { + "id": "0x558a52029d80", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "int64_t (const std::string &)" + } + } + ] +}, +{ + "id": "0x558a51bb9aa0", + "kind": "FunctionDecl", + "loc": { + "offset": 11786, + "file": "../include/sls/ToString.h", + "line": 362, + "col": 32, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11755, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11815, + "col": 61, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bb9d10", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs12detectorTypeEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::detectorType (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::detectorType" + }, + "inner": [ + { + "id": "0x558a5144b720", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::detectorType" + }, + "decl": { + "id": "0x558a5144b680", + "kind": "EnumDecl", + "name": "detectorType" + } + } + ] + }, + { + "id": "0x558a51bb9980", + "kind": "ParmVarDecl", + "loc": { + "offset": 11814, + "col": 60, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11795, + "col": 41, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11814, + "col": 60, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +}, +{ + "id": "0x558a51bba030", + "kind": "FunctionDecl", + "loc": { + "offset": 11853, + "file": "../include/sls/ToString.h", + "line": 363, + "col": 36, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11818, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11882, + "col": 65, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bba2a0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs16detectorSettingsEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::detectorSettings (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "inner": [ + { + "id": "0x558a5152da90", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "decl": { + "id": "0x558a5152d9e8", + "kind": "EnumDecl", + "name": "detectorSettings" + } + } + ] + }, + { + "id": "0x558a51bb9f10", + "kind": "ParmVarDecl", + "loc": { + "offset": 11881, + "col": 64, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11862, + "col": 45, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11881, + "col": 64, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +}, +{ + "id": "0x558a51bba5c0", + "kind": "FunctionDecl", + "loc": { + "offset": 11914, + "file": "../include/sls/ToString.h", + "line": 364, + "col": 30, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11885, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11943, + "col": 59, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bba830", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs10speedLevelEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::speedLevel (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::speedLevel" + }, + "inner": [ + { + "id": "0x558a5152e840", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::speedLevel" + }, + "decl": { + "id": "0x558a5152e798", + "kind": "EnumDecl", + "name": "speedLevel" + } + } + ] + }, + { + "id": "0x558a51bba4a0", + "kind": "ParmVarDecl", + "loc": { + "offset": 11942, + "col": 58, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11923, + "col": 39, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 11942, + "col": 58, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +}, +{ + "id": "0x558a51bbab50", + "kind": "FunctionDecl", + "loc": { + "offset": 11975, + "file": "../include/sls/ToString.h", + "line": 365, + "col": 30, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11946, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12004, + "col": 59, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bbadc0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs10timingModeEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::timingMode (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::timingMode" + }, + "inner": [ + { + "id": "0x558a5152b060", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::timingMode" + }, + "decl": { + "id": "0x558a5152afb8", + "kind": "EnumDecl", + "name": "timingMode" + } + } + ] + }, + { + "id": "0x558a51bbaa30", + "kind": "ParmVarDecl", + "loc": { + "offset": 12003, + "col": 58, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 11984, + "col": 39, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12003, + "col": 58, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +}, +{ + "id": "0x558a51bbb0e0", + "kind": "FunctionDecl", + "loc": { + "offset": 12044, + "file": "../include/sls/ToString.h", + "line": 366, + "col": 38, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12007, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12073, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bbb350", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs18frameDiscardPolicyEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::frameDiscardPolicy (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::frameDiscardPolicy" + }, + "inner": [ + { + "id": "0x558a51529090", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::frameDiscardPolicy" + }, + "decl": { + "id": "0x558a51528fe8", + "kind": "EnumDecl", + "name": "frameDiscardPolicy" + } + } + ] + }, + { + "id": "0x558a51bbafc0", + "kind": "ParmVarDecl", + "loc": { + "offset": 12072, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12053, + "col": 47, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12072, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +}, +{ + "id": "0x558a51bbb670", + "kind": "FunctionDecl", + "loc": { + "offset": 12105, + "file": "../include/sls/ToString.h", + "line": 367, + "col": 30, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12076, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12134, + "col": 59, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bbb8e0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs10fileFormatEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::fileFormat (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::fileFormat" + }, + "inner": [ + { + "id": "0x558a515292b0", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::fileFormat" + }, + "decl": { + "id": "0x558a51529210", + "kind": "EnumDecl", + "name": "fileFormat" + } + } + ] + }, + { + "id": "0x558a51bbb550", + "kind": "ParmVarDecl", + "loc": { + "offset": 12133, + "col": 58, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12114, + "col": 39, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12133, + "col": 58, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +}, +{ + "id": "0x558a51bbbc00", + "kind": "FunctionDecl", + "loc": { + "offset": 12174, + "file": "../include/sls/ToString.h", + "line": 368, + "col": 38, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12137, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12203, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bbbe70", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs18externalSignalFlagEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::externalSignalFlag (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::externalSignalFlag" + }, + "inner": [ + { + "id": "0x558a5152ae10", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::externalSignalFlag" + }, + "decl": { + "id": "0x558a5152ad68", + "kind": "EnumDecl", + "name": "externalSignalFlag" + } + } + ] + }, + { + "id": "0x558a51bbbae0", + "kind": "ParmVarDecl", + "loc": { + "offset": 12202, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12183, + "col": 47, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12202, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +}, +{ + "id": "0x558a51bbc190", + "kind": "FunctionDecl", + "loc": { + "offset": 12236, + "file": "../include/sls/ToString.h", + "line": 369, + "col": 31, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12206, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12265, + "col": 60, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bbc400", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs11readoutModeEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::readoutMode (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::readoutMode" + }, + "inner": [ + { + "id": "0x558a5152e590", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::readoutMode" + }, + "decl": { + "id": "0x558a5152e4e8", + "kind": "EnumDecl", + "name": "readoutMode" + } + } + ] + }, + { + "id": "0x558a51bbc070", + "kind": "ParmVarDecl", + "loc": { + "offset": 12264, + "col": 59, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12245, + "col": 40, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12264, + "col": 59, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +}, +{ + "id": "0x558a51bbc720", + "kind": "FunctionDecl", + "loc": { + "offset": 12295, + "file": "../include/sls/ToString.h", + "line": 370, + "col": 28, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12268, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12324, + "col": 57, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bbc990", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs8dacIndexEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::dacIndex (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "inner": [ + { + "id": "0x558a5152b360", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "decl": { + "id": "0x558a5152b2b8", + "kind": "EnumDecl", + "name": "dacIndex" + } + } + ] + }, + { + "id": "0x558a51bbc600", + "kind": "ParmVarDecl", + "loc": { + "offset": 12323, + "col": 56, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12304, + "col": 37, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12323, + "col": 56, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +}, +{ + "id": "0x558a51bbccb0", + "kind": "FunctionDecl", + "loc": { + "offset": 12356, + "file": "../include/sls/ToString.h", + "line": 371, + "col": 30, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12327, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12385, + "col": 59, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bbcf20", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs10powerIndexEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::powerIndex (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::powerIndex" + }, + "inner": [ + { + "id": "0x558a5152d5d0", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::powerIndex" + }, + "decl": { + "id": "0x558a5152d530", + "kind": "EnumDecl", + "name": "powerIndex" + } + } + ] + }, + { + "id": "0x558a51bbcb90", + "kind": "ParmVarDecl", + "loc": { + "offset": 12384, + "col": 58, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12365, + "col": 39, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12384, + "col": 58, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +}, +{ + "id": "0x558a51bbd240", + "kind": "FunctionDecl", + "loc": { + "offset": 12416, + "file": "../include/sls/ToString.h", + "line": 372, + "col": 29, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12388, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12445, + "col": 58, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bbd4b0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs9burstModeEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::burstMode (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::burstMode" + }, + "inner": [ + { + "id": "0x558a5152eaf0", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::burstMode" + }, + "decl": { + "id": "0x558a5152ea48", + "kind": "EnumDecl", + "name": "burstMode" + } + } + ] + }, + { + "id": "0x558a51bbd120", + "kind": "ParmVarDecl", + "loc": { + "offset": 12444, + "col": 57, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12425, + "col": 38, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12444, + "col": 57, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +}, +{ + "id": "0x558a51bbd7d0", + "kind": "FunctionDecl", + "loc": { + "offset": 12483, + "file": "../include/sls/ToString.h", + "line": 373, + "col": 36, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12448, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12512, + "col": 65, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bbda40", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs16timingSourceTypeEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::timingSourceType (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::timingSourceType" + }, + "inner": [ + { + "id": "0x558a5152eda0", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::timingSourceType" + }, + "decl": { + "id": "0x558a5152ecf8", + "kind": "EnumDecl", + "name": "timingSourceType" + } + } + ] + }, + { + "id": "0x558a51bbd6b0", + "kind": "ParmVarDecl", + "loc": { + "offset": 12511, + "col": 64, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12492, + "col": 45, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12511, + "col": 64, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +}, +{ + "id": "0x558a51bbdd60", + "kind": "FunctionDecl", + "loc": { + "offset": 12545, + "file": "../include/sls/ToString.h", + "line": 374, + "col": 31, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12515, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12574, + "col": 60, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bbdfd0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs11M3_GainCapsEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::M3_GainCaps (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::M3_GainCaps" + }, + "inner": [ + { + "id": "0x558a5152ef10", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::M3_GainCaps" + }, + "decl": { + "id": "0x558a5152ee70", + "kind": "EnumDecl", + "name": "M3_GainCaps" + } + } + ] + }, + { + "id": "0x558a51bbdc40", + "kind": "ParmVarDecl", + "loc": { + "offset": 12573, + "col": 59, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12554, + "col": 40, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12573, + "col": 59, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +}, +{ + "id": "0x558a51bbe2f0", + "kind": "FunctionDecl", + "loc": { + "offset": 12608, + "file": "../include/sls/ToString.h", + "line": 375, + "col": 32, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12577, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12637, + "col": 61, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bbe560", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs12portPositionEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::portPosition (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::portPosition" + }, + "inner": [ + { + "id": "0x558a5152f570", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::portPosition" + }, + "decl": { + "id": "0x558a5152f4d0", + "kind": "EnumDecl", + "name": "portPosition" + } + } + ] + }, + { + "id": "0x558a51bbe1d0", + "kind": "ParmVarDecl", + "loc": { + "offset": 12636, + "col": 60, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12617, + "col": 41, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12636, + "col": 60, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +}, +{ + "id": "0x558a51bbe880", + "kind": "FunctionDecl", + "loc": { + "offset": 12677, + "file": "../include/sls/ToString.h", + "line": 376, + "col": 38, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12640, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12706, + "col": 67, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bbeaf0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs18streamingInterfaceEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::streamingInterface (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::streamingInterface" + }, + "inner": [ + { + "id": "0x558a5152f930", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::streamingInterface" + }, + "decl": { + "id": "0x558a5152f890", + "kind": "EnumDecl", + "name": "streamingInterface" + } + } + ] + }, + { + "id": "0x558a51bbe760", + "kind": "ParmVarDecl", + "loc": { + "offset": 12705, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12686, + "col": 47, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12705, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +}, +{ + "id": "0x558a51bbee10", + "kind": "FunctionDecl", + "loc": { + "offset": 12741, + "file": "../include/sls/ToString.h", + "line": 377, + "col": 33, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12709, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12770, + "col": 62, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bbf080", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs13vetoAlgorithmEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::vetoAlgorithm (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::vetoAlgorithm" + }, + "inner": [ + { + "id": "0x558a5152fd10", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::vetoAlgorithm" + }, + "decl": { + "id": "0x558a5152fc70", + "kind": "EnumDecl", + "name": "vetoAlgorithm" + } + } + ] + }, + { + "id": "0x558a51bbecf0", + "kind": "ParmVarDecl", + "loc": { + "offset": 12769, + "col": 61, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12750, + "col": 42, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12769, + "col": 61, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +}, +{ + "id": "0x558a51bbf3a0", + "kind": "FunctionDecl", + "loc": { + "offset": 12800, + "file": "../include/sls/ToString.h", + "line": 378, + "col": 28, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12773, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12829, + "col": 57, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bbf610", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs8gainModeEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::gainMode (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::gainMode" + }, + "inner": [ + { + "id": "0x558a5152fe80", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::gainMode" + }, + "decl": { + "id": "0x558a5152fde0", + "kind": "EnumDecl", + "name": "gainMode" + } + } + ] + }, + { + "id": "0x558a51bbf280", + "kind": "ParmVarDecl", + "loc": { + "offset": 12828, + "col": 56, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12809, + "col": 37, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12828, + "col": 56, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +}, +{ + "id": "0x558a51bbf930", + "kind": "FunctionDecl", + "loc": { + "offset": 12859, + "file": "../include/sls/ToString.h", + "line": 379, + "col": 28, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12832, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12888, + "col": 57, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bbfba0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs8polarityEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::polarity (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::polarity" + }, + "inner": [ + { + "id": "0x558a51530150", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::polarity" + }, + "decl": { + "id": "0x558a515300b0", + "kind": "EnumDecl", + "name": "polarity" + } + } + ] + }, + { + "id": "0x558a51bbf810", + "kind": "ParmVarDecl", + "loc": { + "offset": 12887, + "col": 56, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12868, + "col": 37, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12887, + "col": 56, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +}, +{ + "id": "0x558a51bbfec0", + "kind": "FunctionDecl", + "loc": { + "offset": 12927, + "file": "../include/sls/ToString.h", + "line": 380, + "col": 37, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12891, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12956, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bc0130", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs17timingInfoDecoderEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::timingInfoDecoder (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::timingInfoDecoder" + }, + "inner": [ + { + "id": "0x558a515302c0", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::timingInfoDecoder" + }, + "decl": { + "id": "0x558a51530220", + "kind": "EnumDecl", + "name": "timingInfoDecoder" + } + } + ] + }, + { + "id": "0x558a51bbfda0", + "kind": "ParmVarDecl", + "loc": { + "offset": 12955, + "col": 65, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12936, + "col": 46, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 12955, + "col": 65, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +}, +{ + "id": "0x558a51bc0450", + "kind": "FunctionDecl", + "loc": { + "offset": 12992, + "file": "../include/sls/ToString.h", + "line": 381, + "col": 34, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 12959, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13021, + "col": 63, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bc06c0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs14collectionModeEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::collectionMode (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::collectionMode" + }, + "inner": [ + { + "id": "0x558a51530430", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::collectionMode" + }, + "decl": { + "id": "0x558a51530390", + "kind": "EnumDecl", + "name": "collectionMode" + } + } + ] + }, + { + "id": "0x558a51bc0330", + "kind": "ParmVarDecl", + "loc": { + "offset": 13020, + "col": 62, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13001, + "col": 43, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13020, + "col": 62, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +}, +{ + "id": "0x558a51bc0990", + "kind": "FunctionDecl", + "loc": { + "offset": 13052, + "file": "../include/sls/ToString.h", + "line": 382, + "col": 29, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13024, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13081, + "col": 58, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bc0bd0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToINS_15RegisterAddressEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "RegisterAddress (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "sls::RegisterAddress" + }, + "inner": [ + { + "id": "0x558a515bd700", + "kind": "RecordType", + "type": { + "qualType": "sls::RegisterAddress" + }, + "decl": { + "id": "0x558a515bd670", + "kind": "CXXRecordDecl", + "name": "RegisterAddress" + } + } + ] + }, + { + "id": "0x558a51bc0880", + "kind": "ParmVarDecl", + "loc": { + "offset": 13080, + "col": 57, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13061, + "col": 38, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13080, + "col": 57, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +}, +{ + "id": "0x558a51bc0ea0", + "kind": "FunctionDecl", + "loc": { + "offset": 13110, + "file": "../include/sls/ToString.h", + "line": 383, + "col": 27, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13084, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13139, + "col": 56, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bc10e0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToINS_13RegisterValueEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "RegisterValue (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "sls::RegisterValue" + }, + "inner": [ + { + "id": "0x558a515c0d60", + "kind": "RecordType", + "type": { + "qualType": "sls::RegisterValue" + }, + "decl": { + "id": "0x558a515c0cd0", + "kind": "CXXRecordDecl", + "name": "RegisterValue" + } + } + ] + }, + { + "id": "0x558a51bc0d90", + "kind": "ParmVarDecl", + "loc": { + "offset": 13138, + "col": 55, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13119, + "col": 36, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13138, + "col": 55, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +}, +{ + "id": "0x558a51bc13b0", + "kind": "FunctionDecl", + "loc": { + "offset": 13163, + "file": "../include/sls/ToString.h", + "line": 385, + "col": 21, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13143, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13192, + "col": 50, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bc15f0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIhEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "uint8_t (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "unsigned char" + }, + "inner": [ + { + "id": "0x558a5015ac50", + "kind": "BuiltinType", + "type": { + "qualType": "unsigned char" + } + } + ] + }, + { + "id": "0x558a51bc12a0", + "kind": "ParmVarDecl", + "loc": { + "offset": 13191, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13172, + "col": 30, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13191, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +}, +{ + "id": "0x558a51bc18c0", + "kind": "FunctionDecl", + "loc": { + "offset": 13216, + "file": "../include/sls/ToString.h", + "line": 386, + "col": 22, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13195, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13245, + "col": 51, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bc1b00", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToItEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "uint16_t (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "unsigned short" + }, + "inner": [ + { + "id": "0x558a5015ac70", + "kind": "BuiltinType", + "type": { + "qualType": "unsigned short" + } + } + ] + }, + { + "id": "0x558a51bc17b0", + "kind": "ParmVarDecl", + "loc": { + "offset": 13244, + "col": 50, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13225, + "col": 31, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13244, + "col": 50, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +}, +{ + "id": "0x558a51bc1dd0", + "kind": "FunctionDecl", + "loc": { + "offset": 13269, + "file": "../include/sls/ToString.h", + "line": 387, + "col": 22, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13248, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13298, + "col": 51, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bc2010", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIjEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "uint32_t (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "unsigned int" + }, + "inner": [ + { + "id": "0x558a5015ac90", + "kind": "BuiltinType", + "type": { + "qualType": "unsigned int" + } + } + ] + }, + { + "id": "0x558a51bc1cc0", + "kind": "ParmVarDecl", + "loc": { + "offset": 13297, + "col": 50, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13278, + "col": 31, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13297, + "col": 50, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +}, +{ + "id": "0x558a51bc22a0", + "kind": "FunctionDecl", + "loc": { + "offset": 13322, + "file": "../include/sls/ToString.h", + "line": 388, + "col": 22, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13301, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13351, + "col": 51, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bc24e0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToImEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "uint64_t (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "unsigned long" + }, + "inner": [ + { + "id": "0x558a5015acb0", + "kind": "BuiltinType", + "type": { + "qualType": "unsigned long" + } + } + ] + }, + { + "id": "0x558a51bc21d0", + "kind": "ParmVarDecl", + "loc": { + "offset": 13350, + "col": 50, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13331, + "col": 31, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13350, + "col": 50, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +}, +{ + "id": "0x558a51bc27b8", + "kind": "FunctionDecl", + "loc": { + "offset": 13370, + "file": "../include/sls/ToString.h", + "line": 389, + "col": 17, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13354, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13399, + "col": 46, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bc2a00", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIiEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "int (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "int" + }, + "inner": [ + { + "id": "0x558a5015abf0", + "kind": "BuiltinType", + "type": { + "qualType": "int" + } + } + ] + }, + { + "id": "0x558a51bc26a0", + "kind": "ParmVarDecl", + "loc": { + "offset": 13398, + "col": 45, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13379, + "col": 26, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13398, + "col": 45, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +}, +{ + "id": "0x558a51bc2c90", + "kind": "FunctionDecl", + "loc": { + "offset": 13419, + "file": "../include/sls/ToString.h", + "line": 390, + "col": 18, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13402, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13448, + "col": 47, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bc2ed0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIbEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "bool (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "bool" + }, + "inner": [ + { + "id": "0x558a5015ab70", + "kind": "BuiltinType", + "type": { + "qualType": "bool" + } + } + ] + }, + { + "id": "0x558a51bc2bc0", + "kind": "ParmVarDecl", + "loc": { + "offset": 13447, + "col": 46, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13428, + "col": 27, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13447, + "col": 46, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +}, +{ + "id": "0x558a51bc3260", + "kind": "FunctionDecl", + "loc": { + "offset": 13456, + "file": "../include/sls/ToString.h", + "line": 391, + "col": 6, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13451, + "col": 1, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13510, + "col": 60, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isUsed": true, + "name": "StringTo", + "mangledName": "_ZN3sls8StringToERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN15slsDetectorDefs10boolFormatE", + "type": { + "qualType": "bool (const std::string &, defs::boolFormat)" + }, + "inner": [ + { + "id": "0x558a51bc3078", + "kind": "ParmVarDecl", + "loc": { + "offset": 13484, + "col": 34, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13465, + "col": 15, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13484, + "col": 34, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51bc3140", + "kind": "ParmVarDecl", + "loc": { + "offset": 13504, + "col": 54, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13487, + "col": 37, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13504, + "col": 54, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "format", + "type": { + "desugaredQualType": "slsDetectorDefs::boolFormat", + "qualType": "defs::boolFormat" + } + } + ] +}, +{ + "id": "0x558a51bc34a0", + "kind": "FunctionDecl", + "loc": { + "offset": 13533, + "file": "../include/sls/ToString.h", + "line": 392, + "col": 21, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13513, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13562, + "col": 50, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "previousDecl": "0x558a51bc36e0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIlEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "int64_t (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "long" + }, + "inner": [ + { + "id": "0x558a5015ac10", + "kind": "BuiltinType", + "type": { + "qualType": "long" + } + } + ] + }, + { + "id": "0x558a51bc3398", + "kind": "ParmVarDecl", + "loc": { + "offset": 13561, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13542, + "col": 30, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13561, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + ] +}, +{ + "id": "0x558a51bc4698", + "kind": "FunctionTemplateDecl", + "loc": { + "offset": 13799, + "file": "../include/sls/ToString.h", + "line": 402, + "col": 16, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13762, + "line": 401, + "col": 1, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 14009, + "line": 408, + "col": 1, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "StringTo", + "inner": [ + { + "id": "0x558a51bc4020", + "kind": "TemplateTypeParmDecl", + "loc": { + "offset": 13781, + "line": 401, + "col": 20, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13772, + "col": 11, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13781, + "col": 20, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "T", + "tagUsed": "typename", + "depth": 0, + "index": 0 + }, + { + "id": "0x558a51bc45f0", + "kind": "FunctionDecl", + "loc": { + "offset": 13799, + "line": 402, + "col": 16, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13784, + "col": 1, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 14009, + "line": 408, + "col": 1, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "name": "StringTo", + "type": { + "qualType": "std::vector (const std::vector &)" + }, + "inner": [ + { + "id": "0x558a51bc44c8", + "kind": "ParmVarDecl", + "loc": { + "offset": 13840, + "line": 402, + "col": 57, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13808, + "col": 25, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13840, + "col": 57, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "strings", + "type": { + "qualType": "const std::vector &" + } + }, + { + "id": "0x558a51bfdaa0", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 13849, + "col": 66, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 14009, + "line": 408, + "col": 1, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bc4990", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 13855, + "line": 403, + "col": 5, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13876, + "col": 26, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bc4928", + "kind": "VarDecl", + "loc": { + "offset": 13870, + "col": 20, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13855, + "col": 5, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13870, + "col": 20, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "result", + "type": { + "desugaredQualType": "vector", + "qualType": "std::vector" + }, + "nrvo": true + } + ] + }, + { + "id": "0x558a51bee930", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 13882, + "line": 404, + "col": 5, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13911, + "col": 34, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bc49c8", + "kind": "CXXDependentScopeMemberExpr", + "range": { + "begin": { + "offset": 13882, + "col": 5, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13889, + "col": 12, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "lvalue", + "isArrow": false, + "member": "reserve", + "inner": [ + { + "id": "0x558a51bc49a8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 13882, + "col": 5, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13882, + "col": 5, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "vector", + "qualType": "std::vector" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bc4928", + "kind": "VarDecl", + "name": "result", + "type": { + "desugaredQualType": "vector", + "qualType": "std::vector" + } + } + } + ] + }, + { + "id": "0x558a51bee408", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 13897, + "col": 20, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13910, + "col": 33, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a5135d888" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bee3d8", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 13897, + "col": 20, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13905, + "col": 28, + "tokLen": 4, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "size", + "isArrow": false, + "referencedMemberDecl": "0x558a51be2de0", + "inner": [ + { + "id": "0x558a51bc4a10", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 13897, + "col": 20, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13897, + "col": 20, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const std::vector>", + "qualType": "const std::vector" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bc44c8", + "kind": "ParmVarDecl", + "name": "strings", + "type": { + "qualType": "const std::vector &" + } + } + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bfd868", + "kind": "CXXForRangeStmt", + "range": { + "begin": { + "offset": 13918, + "line": 405, + "col": 5, + "tokLen": 3, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13987, + "line": 406, + "col": 40, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + {}, + { + "id": "0x558a51beec68", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 13939, + "line": 405, + "col": 26, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13939, + "col": 26, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51beea70", + "kind": "VarDecl", + "loc": { + "offset": 13939, + "col": 26, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13939, + "col": 26, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13939, + "col": 26, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isImplicit": true, + "isReferenced": true, + "name": "__range2", + "type": { + "qualType": "const std::vector &" + }, + "init": "c", + "inner": [ + { + "id": "0x558a51bee958", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 13939, + "col": 26, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13939, + "col": 26, + "tokLen": 7, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const std::vector>", + "qualType": "const std::vector" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bc44c8", + "kind": "ParmVarDecl", + "name": "strings", + "type": { + "qualType": "const std::vector &" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51bfa520", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51beecd8", + "kind": "VarDecl", + "loc": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isImplicit": true, + "isReferenced": true, + "name": "__begin2", + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator *, std::vector>>", + "qualType": "const_iterator", + "typeAliasDeclId": "0x558a51bdb698" + }, + "init": "c", + "inner": [ + { + "id": "0x558a51beee50", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator *, std::vector>>", + "qualType": "const_iterator", + "typeAliasDeclId": "0x558a51bdb698" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51beee20", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "begin", + "isArrow": false, + "referencedMemberDecl": "0x558a51be1e88", + "inner": [ + { + "id": "0x558a51beec80", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const std::vector>", + "qualType": "const std::vector" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51beea70", + "kind": "VarDecl", + "name": "__range2", + "type": { + "qualType": "const std::vector &" + } + } + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bfa538", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51beed58", + "kind": "VarDecl", + "loc": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isImplicit": true, + "isReferenced": true, + "name": "__end2", + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator *, std::vector>>", + "qualType": "const_iterator", + "typeAliasDeclId": "0x558a51bdb698" + }, + "init": "c", + "inner": [ + { + "id": "0x558a51bfa440", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator *, std::vector>>", + "qualType": "const_iterator", + "typeAliasDeclId": "0x558a51bdb698" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bfa410", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "end", + "isArrow": false, + "referencedMemberDecl": "0x558a51be2118", + "inner": [ + { + "id": "0x558a51beeca0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const std::vector>", + "qualType": "const std::vector" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51beea70", + "kind": "VarDecl", + "name": "__range2", + "type": { + "qualType": "const std::vector &" + } + } + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bfd338", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51bfd320", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool (*)(const __normal_iterator, allocator> *, vector, allocator>, allocator, allocator>>>> &, const __normal_iterator, allocator> *, vector, allocator>, allocator, allocator>>>> &) noexcept" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51bfcf70", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "bool (const __normal_iterator, allocator> *, vector, allocator>, allocator, allocator>>>> &, const __normal_iterator, allocator> *, vector, allocator>, allocator, allocator>>>> &) noexcept" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bfb108", + "kind": "FunctionDecl", + "name": "operator!=", + "type": { + "qualType": "bool (const __normal_iterator, allocator> *, vector, allocator>, allocator, allocator>>>> &, const __normal_iterator, allocator> *, vector, allocator>, allocator, allocator>>>> &) noexcept" + } + } + } + ] + }, + { + "id": "0x558a51bfcf40", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const __gnu_cxx::__normal_iterator *, std::vector>>", + "qualType": "const __normal_iterator, allocator> *, vector, allocator>, allocator, allocator>>>>" + }, + "valueCategory": "lvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51bfa550", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator *, std::vector>>", + "qualType": "const_iterator", + "typeAliasDeclId": "0x558a51bdb698" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51beecd8", + "kind": "VarDecl", + "name": "__begin2", + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator *, std::vector>>", + "qualType": "const_iterator", + "typeAliasDeclId": "0x558a51bdb698" + } + } + } + ] + }, + { + "id": "0x558a51bfcf58", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const __gnu_cxx::__normal_iterator *, std::vector>>", + "qualType": "const __normal_iterator, allocator> *, vector, allocator>, allocator, allocator>>>>" + }, + "valueCategory": "lvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51bfa570", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator *, std::vector>>", + "qualType": "const_iterator", + "typeAliasDeclId": "0x558a51bdb698" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51beed58", + "kind": "VarDecl", + "name": "__end2", + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator *, std::vector>>", + "qualType": "const_iterator", + "typeAliasDeclId": "0x558a51bdb698" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51bfd4d8", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator *, std::vector>>", + "qualType": "__normal_iterator *, vector>>" + }, + "valueCategory": "lvalue", + "inner": [ + { + "id": "0x558a51bfd4c0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "__normal_iterator *, vector>> &(*)() noexcept" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51bfd390", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "__normal_iterator *, vector>> &() noexcept" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bf8e60", + "kind": "CXXMethodDecl", + "name": "operator++", + "type": { + "qualType": "__normal_iterator *, vector>> &() noexcept" + } + } + } + ] + }, + { + "id": "0x558a51bfd370", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator *, std::vector>>", + "qualType": "const_iterator", + "typeAliasDeclId": "0x558a51bdb698" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51beecd8", + "kind": "VarDecl", + "name": "__begin2", + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator *, std::vector>>", + "qualType": "const_iterator", + "typeAliasDeclId": "0x558a51bdb698" + } + } + } + ] + }, + { + "id": "0x558a51beea38", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 13923, + "col": 10, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13946, + "col": 33, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bee9d0", + "kind": "VarDecl", + "loc": { + "offset": 13935, + "col": 22, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "range": { + "begin": { + "offset": 13923, + "col": 10, + "tokLen": 5, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "isReferenced": true, + "name": "s", + "type": { + "qualType": "std::basic_string const &" + }, + "init": "c", + "inner": [ + { + "id": "0x558a51bfd6a8", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const std::basic_string" + }, + "valueCategory": "lvalue", + "inner": [ + { + "id": "0x558a51bfd690", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "reference (*)() const noexcept" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51bfd578", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "reference () const noexcept" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bf89f8", + "kind": "CXXMethodDecl", + "name": "operator*", + "type": { + "qualType": "reference () const noexcept" + } + } + } + ] + }, + { + "id": "0x558a51bfd560", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "const __gnu_cxx::__normal_iterator *, std::vector>>" + }, + "valueCategory": "lvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51bfd540", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13937, + "col": 24, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator *, std::vector>>", + "qualType": "const_iterator", + "typeAliasDeclId": "0x558a51bdb698" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51beecd8", + "kind": "VarDecl", + "name": "__begin2", + "type": { + "desugaredQualType": "__gnu_cxx::__normal_iterator *, std::vector>>", + "qualType": "const_iterator", + "typeAliasDeclId": "0x558a51bdb698" + } + } + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bfda40", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 13956, + "line": 406, + "col": 9, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13987, + "col": 40, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bfd8e8", + "kind": "CXXDependentScopeMemberExpr", + "range": { + "begin": { + "offset": 13956, + "col": 9, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13963, + "col": 16, + "tokLen": 9, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "lvalue", + "isArrow": false, + "member": "push_back", + "inner": [ + { + "id": "0x558a51bfd8c8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 13956, + "col": 9, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13956, + "col": 9, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "vector", + "qualType": "std::vector" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bc4928", + "kind": "VarDecl", + "name": "result", + "type": { + "desugaredQualType": "vector", + "qualType": "std::vector" + } + } + } + ] + }, + { + "id": "0x558a51bfda18", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 13973, + "col": 26, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13986, + "col": 39, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51bfd968", + "kind": "UnresolvedLookupExpr", + "range": { + "begin": { + "offset": 13973, + "col": 26, + "tokLen": 8, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13983, + "col": 36, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "lvalue", + "usesADL": true, + "name": "StringTo", + "lookups": [ + { + "id": "0x558a51bc4698", + "kind": "FunctionTemplateDecl", + "name": "StringTo" + }, + { + "id": "0x558a51b80fb8", + "kind": "FunctionTemplateDecl", + "name": "StringTo" + }, + { + "id": "0x558a51bb89b8", + "kind": "FunctionTemplateDecl", + "name": "StringTo" + }, + { + "id": "0x558a51bb67e8", + "kind": "FunctionTemplateDecl", + "name": "StringTo" + } + ], + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "T" + }, + "inner": [ + { + "id": "0x558a51bc4070", + "kind": "TemplateTypeParmType", + "type": { + "qualType": "T" + }, + "isDependent": true, + "isInstantiationDependent": true, + "depth": 0, + "index": 0, + "decl": { + "id": "0x558a51bc4020", + "kind": "TemplateTypeParmDecl", + "name": "T" + } + } + ] + } + ] + }, + { + "id": "0x558a51bfd9f8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 13985, + "col": 38, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 13985, + "col": 38, + "tokLen": 1, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "std::basic_string const" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bee9d0", + "kind": "VarDecl", + "name": "s", + "type": { + "qualType": "std::basic_string const &" + } + } + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51bfda88", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 13994, + "line": 407, + "col": 5, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 14001, + "col": 12, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "inner": [ + { + "id": "0x558a51bfda68", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 14001, + "col": 12, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + }, + "end": { + "offset": 14001, + "col": 12, + "tokLen": 6, + "includedFrom": { + "file": "ToString.cpp" + } + } + }, + "type": { + "desugaredQualType": "vector", + "qualType": "std::vector" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bc4928", + "kind": "VarDecl", + "name": "result", + "type": { + "desugaredQualType": "vector", + "qualType": "std::vector" + } + } + } + ] + } + ] + } + ] + } + ] +}, +{ + "id": "0x558a51f0e4c0", + "kind": "FunctionDecl", + "loc": { + "offset": 23590, + "file": "ToString.cpp", + "line": 774, + "col": 32, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 23559, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 24209, + "line": 794, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bb9aa0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs12detectorTypeEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::detectorType (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::detectorType" + }, + "inner": [ + { + "id": "0x558a5144b720", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::detectorType" + }, + "decl": { + "id": "0x558a5144b680", + "kind": "EnumDecl", + "name": "detectorType" + } + } + ] + }, + { + "id": "0x558a51f0e3e0", + "kind": "ParmVarDecl", + "loc": { + "offset": 23618, + "line": 774, + "col": 60, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 23599, + "col": 41, + "tokLen": 5 + }, + "end": { + "offset": 23618, + "col": 60, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51f1a2b0", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 23621, + "col": 63, + "tokLen": 1 + }, + "end": { + "offset": 24209, + "line": 794, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51f0fab0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 23627, + "line": 775, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 23666, + "line": 776, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f0fa00", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 23631, + "line": 775, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 23636, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f0f9e8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 23633, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 23633, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f0f9c8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23633, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 23633, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f0e6a8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23631, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 23631, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f0e3e0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f0f9b0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 23636, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 23636, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f0e6c8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 23636, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 23636, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"Eiger\"" + } + ] + } + ] + }, + { + "id": "0x558a51f0faa0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 23653, + "line": 776, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 23666, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f0fa70", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23660, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 23666, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorType" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5144b798", + "kind": "EnumConstantDecl", + "name": "EIGER", + "type": { + "qualType": "slsDetectorDefs::detectorType" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f10ee0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 23677, + "line": 777, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 23719, + "line": 778, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f10e30", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 23681, + "line": 777, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 23686, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f10e18", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 23683, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 23683, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f10df8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23683, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 23683, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f0fad0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23681, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 23681, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f0e3e0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f10de0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 23686, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 23686, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f0faf0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 23686, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 23686, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"Gotthard\"" + } + ] + } + ] + }, + { + "id": "0x558a51f10ed0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 23706, + "line": 778, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 23719, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f10ea0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23713, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 23719, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorType" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5144b818", + "kind": "EnumConstantDecl", + "name": "GOTTHARD", + "type": { + "qualType": "slsDetectorDefs::detectorType" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f12310", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 23733, + "line": 779, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 23775, + "line": 780, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f12260", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 23737, + "line": 779, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 23742, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f12248", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 23739, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 23739, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f12228", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23739, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 23739, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f10f00", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23737, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 23737, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f0e3e0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f12210", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 23742, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 23742, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f10f20", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 23742, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 23742, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"Jungfrau\"" + } + ] + } + ] + }, + { + "id": "0x558a51f12300", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 23762, + "line": 780, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 23775, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f122d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23769, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 23775, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorType" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5144b870", + "kind": "EnumConstantDecl", + "name": "JUNGFRAU", + "type": { + "qualType": "slsDetectorDefs::detectorType" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f13740", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 23789, + "line": 781, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 23836, + "line": 782, + "col": 22, + "tokLen": 13 + } + }, + "inner": [ + { + "id": "0x558a51f13690", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 23793, + "line": 781, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 23798, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f13678", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 23795, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 23795, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f13658", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23795, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 23795, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f12330", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23793, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 23793, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f0e3e0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f13640", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 23798, + "col": 14, + "tokLen": 15 + }, + "end": { + "offset": 23798, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f12350", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 23798, + "col": 14, + "tokLen": 15 + }, + "end": { + "offset": 23798, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "const char[14]" + }, + "valueCategory": "lvalue", + "value": "\"ChipTestBoard\"" + } + ] + } + ] + }, + { + "id": "0x558a51f13730", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 23823, + "line": 782, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 23836, + "col": 22, + "tokLen": 13 + } + }, + "inner": [ + { + "id": "0x558a51f13700", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23830, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 23836, + "col": 22, + "tokLen": 13 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorType" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5144b8c8", + "kind": "EnumConstantDecl", + "name": "CHIPTESTBOARD", + "type": { + "qualType": "slsDetectorDefs::detectorType" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f14b70", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 23855, + "line": 783, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 23895, + "line": 784, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f14ac0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 23859, + "line": 783, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 23864, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f14aa8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 23861, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 23861, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f14a88", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23861, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 23861, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f13760", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23859, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 23859, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f0e3e0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f14a70", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 23864, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 23864, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f13780", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 23864, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 23864, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"Moench\"" + } + ] + } + ] + }, + { + "id": "0x558a51f14b60", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 23882, + "line": 784, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 23895, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f14b30", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23889, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 23895, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorType" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5144b920", + "kind": "EnumConstantDecl", + "name": "MOENCH", + "type": { + "qualType": "slsDetectorDefs::detectorType" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f15fa0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 23907, + "line": 785, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 23948, + "line": 786, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51f15ef0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 23911, + "line": 785, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 23916, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f15ed8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 23913, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 23913, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f15eb8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23913, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 23913, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f14b90", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23911, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 23911, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f0e3e0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f15ea0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 23916, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 23916, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f14bb0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 23916, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 23916, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char[8]" + }, + "valueCategory": "lvalue", + "value": "\"Mythen3\"" + } + ] + } + ] + }, + { + "id": "0x558a51f15f90", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 23935, + "line": 786, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 23948, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51f15f60", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23942, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 23948, + "col": 22, + "tokLen": 7 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorType" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5144b978", + "kind": "EnumConstantDecl", + "name": "MYTHEN3", + "type": { + "qualType": "slsDetectorDefs::detectorType" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f173d0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 23961, + "line": 787, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 24004, + "line": 788, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51f17320", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 23965, + "line": 787, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 23970, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f17308", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 23967, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 23967, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f172e8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23967, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 23967, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f15fc0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23965, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 23965, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f0e3e0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f172d0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 23970, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 23970, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f15fe0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 23970, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 23970, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"Gotthard2\"" + } + ] + } + ] + }, + { + "id": "0x558a51f173c0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 23991, + "line": 788, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 24004, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51f17390", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 23998, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 24004, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorType" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5144b9d0", + "kind": "EnumConstantDecl", + "name": "GOTTHARD2", + "type": { + "qualType": "slsDetectorDefs::detectorType" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f18840", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 24019, + "line": 789, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 24073, + "line": 790, + "col": 22, + "tokLen": 20 + } + }, + "inner": [ + { + "id": "0x558a51f18790", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 24023, + "line": 789, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24028, + "col": 14, + "tokLen": 22 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f18778", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24025, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24025, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f18758", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24025, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24025, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f173f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24023, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24023, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f0e3e0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f18740", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24028, + "col": 14, + "tokLen": 22 + }, + "end": { + "offset": 24028, + "col": 14, + "tokLen": 22 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f17410", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 24028, + "col": 14, + "tokLen": 22 + }, + "end": { + "offset": 24028, + "col": 14, + "tokLen": 22 + } + }, + "type": { + "qualType": "const char[21]" + }, + "valueCategory": "lvalue", + "value": "\"Xilinx_ChipTestBoard\"" + } + ] + } + ] + }, + { + "id": "0x558a51f18830", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 24060, + "line": 790, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 24073, + "col": 22, + "tokLen": 20 + } + }, + "inner": [ + { + "id": "0x558a51f18800", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24067, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 24073, + "col": 22, + "tokLen": 20 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorType" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5144ba28", + "kind": "EnumConstantDecl", + "name": "XILINX_CHIPTESTBOARD", + "type": { + "qualType": "slsDetectorDefs::detectorType" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f19c70", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 24099, + "line": 791, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 24143, + "line": 792, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f19bc0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 24103, + "line": 791, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24108, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f19ba8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24105, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24105, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f19b88", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24105, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24105, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f18860", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24103, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24103, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f0e3e0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f19b70", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24108, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 24108, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f18880", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 24108, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 24108, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char[11]" + }, + "valueCategory": "lvalue", + "value": "\"Matterhorn\"" + } + ] + } + ] + }, + { + "id": "0x558a51f19c60", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 24130, + "line": 792, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 24143, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f19c30", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24137, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 24143, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorType" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5144bab0", + "kind": "EnumConstantDecl", + "name": "MATTERHORN", + "type": { + "qualType": "slsDetectorDefs::detectorType" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f1a298", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 24159, + "line": 793, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 24206, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51f1a280", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 24159, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 24206, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51f1a258", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 24165, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 24206, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a51f1a238", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 24165, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 24206, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51f1a230", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51f1a200", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 24165, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 24206, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51f1a1e8", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 24178, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 24205, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a51f1a1d0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24178, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 24205, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51f1a1b0", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 24178, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 24205, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a51f1a1a8", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51f1a170", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 24178, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 24205, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f1a158", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24203, + "col": 49, + "tokLen": 1 + }, + "end": { + "offset": 24203, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f1a138", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24203, + "col": 49, + "tokLen": 1 + }, + "end": { + "offset": 24203, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a51f1a120", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24178, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 24178, + "col": 24, + "tokLen": 24 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f19ca0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 24178, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 24178, + "col": 24, + "tokLen": 24 + } + }, + "type": { + "qualType": "const char[23]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown detector type \"" + } + ] + }, + { + "id": "0x558a51f19cd0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24205, + "col": 51, + "tokLen": 1 + }, + "end": { + "offset": 24205, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f0e3e0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +}, +{ + "id": "0x558a51f1a4a0", + "kind": "FunctionDecl", + "loc": { + "offset": 24247, + "file": "ToString.cpp", + "line": 796, + "col": 36, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 24212, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 25496, + "line": 838, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bba030", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs16detectorSettingsEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::detectorSettings (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "inner": [ + { + "id": "0x558a5152da90", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "decl": { + "id": "0x558a5152d9e8", + "kind": "EnumDecl", + "name": "detectorSettings" + } + } + ] + }, + { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "loc": { + "offset": 24275, + "line": 796, + "col": 64, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 24256, + "col": 45, + "tokLen": 5 + }, + "end": { + "offset": 24275, + "col": 64, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51f34088", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 24278, + "col": 67, + "tokLen": 1 + }, + "end": { + "offset": 25496, + "line": 838, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51f1ba90", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 24284, + "line": 797, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 24326, + "line": 798, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f1b9e0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 24288, + "line": 797, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24293, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f1b9c8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24290, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24290, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f1b9a8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24290, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24290, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f1a688", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24288, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24288, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f1b990", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24293, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 24293, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f1a6a8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 24293, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 24293, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"standard\"" + } + ] + } + ] + }, + { + "id": "0x558a51f1ba80", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 24313, + "line": 798, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 24326, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f1ba50", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24320, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 24326, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152dab0", + "kind": "EnumConstantDecl", + "name": "STANDARD", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f1cec0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 24340, + "line": 799, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 24378, + "line": 800, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51f1ce10", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 24344, + "line": 799, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24349, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f1cdf8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24346, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24346, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f1cdd8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24346, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24346, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f1bab0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24344, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24344, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f1cdc0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24349, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 24349, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f1bad0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 24349, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 24349, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char[5]" + }, + "valueCategory": "lvalue", + "value": "\"fast\"" + } + ] + } + ] + }, + { + "id": "0x558a51f1ceb0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 24365, + "line": 800, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 24378, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51f1ce80", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24372, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 24378, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152db08", + "kind": "EnumConstantDecl", + "name": "FAST", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f1e2f0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 24388, + "line": 801, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 24430, + "line": 802, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f1e240", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 24392, + "line": 801, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24397, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f1e228", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24394, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24394, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f1e208", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24394, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24394, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f1cee0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24392, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24392, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f1e1f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24397, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 24397, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f1cf00", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 24397, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 24397, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"highgain\"" + } + ] + } + ] + }, + { + "id": "0x558a51f1e2e0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 24417, + "line": 802, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 24430, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f1e2b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24424, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 24430, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152db60", + "kind": "EnumConstantDecl", + "name": "HIGHGAIN", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f1f720", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 24444, + "line": 803, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 24489, + "line": 804, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51f1f670", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 24448, + "line": 803, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24453, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f1f658", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24450, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24450, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f1f638", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24450, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24450, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f1e310", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24448, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24448, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f1f620", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24453, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 24453, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f1e330", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 24453, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 24453, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char[12]" + }, + "valueCategory": "lvalue", + "value": "\"dynamicgain\"" + } + ] + } + ] + }, + { + "id": "0x558a51f1f710", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 24476, + "line": 804, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 24489, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51f1f6e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24483, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 24489, + "col": 22, + "tokLen": 11 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152dbb8", + "kind": "EnumConstantDecl", + "name": "DYNAMICGAIN", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f20b50", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 24506, + "line": 805, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 24547, + "line": 806, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51f20aa0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 24510, + "line": 805, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24515, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f20a88", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24512, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24512, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f20a68", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24512, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24512, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f1f740", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24510, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24510, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f20a50", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24515, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 24515, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f1f760", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 24515, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 24515, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char[8]" + }, + "valueCategory": "lvalue", + "value": "\"lowgain\"" + } + ] + } + ] + }, + { + "id": "0x558a51f20b40", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 24534, + "line": 806, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 24547, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51f20b10", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24541, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 24547, + "col": 22, + "tokLen": 7 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152dc10", + "kind": "EnumConstantDecl", + "name": "LOWGAIN", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f21f80", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 24560, + "line": 807, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 24604, + "line": 808, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f21ed0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 24564, + "line": 807, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24569, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f21eb8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24566, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24566, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f21e98", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24566, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24566, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f20b70", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24564, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24564, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f21e80", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24569, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 24569, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f20b90", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 24569, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 24569, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char[11]" + }, + "valueCategory": "lvalue", + "value": "\"mediumgain\"" + } + ] + } + ] + }, + { + "id": "0x558a51f21f70", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 24591, + "line": 808, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 24604, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f21f40", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24598, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 24604, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152dc68", + "kind": "EnumConstantDecl", + "name": "MEDIUMGAIN", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f233b0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 24620, + "line": 809, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 24666, + "line": 810, + "col": 22, + "tokLen": 12 + } + }, + "inner": [ + { + "id": "0x558a51f23300", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 24624, + "line": 809, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24629, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f232e8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24626, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24626, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f232c8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24626, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24626, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f21fa0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24624, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24624, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f232b0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24629, + "col": 14, + "tokLen": 14 + }, + "end": { + "offset": 24629, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f21fc0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 24629, + "col": 14, + "tokLen": 14 + }, + "end": { + "offset": 24629, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "const char[13]" + }, + "valueCategory": "lvalue", + "value": "\"veryhighgain\"" + } + ] + } + ] + }, + { + "id": "0x558a51f233a0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 24653, + "line": 810, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 24666, + "col": 22, + "tokLen": 12 + } + }, + "inner": [ + { + "id": "0x558a51f23370", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24660, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 24666, + "col": 22, + "tokLen": 12 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152dcc0", + "kind": "EnumConstantDecl", + "name": "VERYHIGHGAIN", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f247e0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 24684, + "line": 811, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 24727, + "line": 812, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51f24730", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 24688, + "line": 811, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24693, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f24718", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24690, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24690, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f246f8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24690, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24690, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f233d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24688, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24688, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f246e0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24693, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 24693, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f233f0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 24693, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 24693, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"highgain0\"" + } + ] + } + ] + }, + { + "id": "0x558a51f247d0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 24714, + "line": 812, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 24727, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51f247a0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24721, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 24727, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152dd18", + "kind": "EnumConstantDecl", + "name": "HIGHGAIN0", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f25c10", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 24742, + "line": 813, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 24784, + "line": 814, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f25b60", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 24746, + "line": 813, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24751, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f25b48", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24748, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24748, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f25b28", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24748, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24748, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f24800", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24746, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24746, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f25b10", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24751, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 24751, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f24820", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 24751, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 24751, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"fixgain1\"" + } + ] + } + ] + }, + { + "id": "0x558a51f25c00", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 24771, + "line": 814, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 24784, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f25bd0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24778, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 24784, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152dd70", + "kind": "EnumConstantDecl", + "name": "FIXGAIN1", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f27070", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 24798, + "line": 815, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 24840, + "line": 816, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f26fc0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 24802, + "line": 815, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24807, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f26fa8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24804, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24804, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f26f88", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24804, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24804, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f25c30", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24802, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24802, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f26f70", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24807, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 24807, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f25c50", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 24807, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 24807, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"fixgain2\"" + } + ] + } + ] + }, + { + "id": "0x558a51f27060", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 24827, + "line": 816, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 24840, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f27030", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24834, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 24840, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152ddc8", + "kind": "EnumConstantDecl", + "name": "FIXGAIN2", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f284a0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 24854, + "line": 817, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 24899, + "line": 818, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51f283f0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 24858, + "line": 817, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24863, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f283d8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24860, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24860, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f283b8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24860, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24860, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f27090", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24858, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24858, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f283a0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24863, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 24863, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f270b0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 24863, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 24863, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char[12]" + }, + "valueCategory": "lvalue", + "value": "\"verylowgain\"" + } + ] + } + ] + }, + { + "id": "0x558a51f28490", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 24886, + "line": 818, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 24899, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51f28460", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24893, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 24899, + "col": 22, + "tokLen": 11 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152de20", + "kind": "EnumConstantDecl", + "name": "VERYLOWGAIN", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f298d0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 24916, + "line": 819, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 24955, + "line": 820, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51f29820", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 24920, + "line": 819, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24925, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f29808", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24922, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24922, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f297e8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24922, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24922, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f284c0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24920, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24920, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f297d0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24925, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 24925, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f284e0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 24925, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 24925, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"g1_hg\"" + } + ] + } + ] + }, + { + "id": "0x558a51f298c0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 24942, + "line": 820, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 24955, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51f29890", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24949, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 24955, + "col": 22, + "tokLen": 11 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152de78", + "kind": "EnumConstantDecl", + "name": "G1_HIGHGAIN", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f2ad00", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 24972, + "line": 821, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 25011, + "line": 822, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f2ac50", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 24976, + "line": 821, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24981, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f2ac38", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24978, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24978, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f2ac18", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24978, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 24978, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f298f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 24976, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 24976, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f2ac00", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 24981, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 24981, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f29910", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 24981, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 24981, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"g1_lg\"" + } + ] + } + ] + }, + { + "id": "0x558a51f2acf0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 24998, + "line": 822, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 25011, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f2acc0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25005, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 25011, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152ded0", + "kind": "EnumConstantDecl", + "name": "G1_LOWGAIN", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f2c130", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 25027, + "line": 823, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 25069, + "line": 824, + "col": 22, + "tokLen": 19 + } + }, + "inner": [ + { + "id": "0x558a51f2c080", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 25031, + "line": 823, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25036, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f2c068", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25033, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25033, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f2c048", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25033, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25033, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f2ad20", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25031, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25031, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f2c030", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25036, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 25036, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f2ad40", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 25036, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 25036, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"g2_hc_hg\"" + } + ] + } + ] + }, + { + "id": "0x558a51f2c120", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 25056, + "line": 824, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 25069, + "col": 22, + "tokLen": 19 + } + }, + "inner": [ + { + "id": "0x558a51f2c0f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25063, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 25069, + "col": 22, + "tokLen": 19 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152df28", + "kind": "EnumConstantDecl", + "name": "G2_HIGHCAP_HIGHGAIN", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f2d560", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 25094, + "line": 825, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 25136, + "line": 826, + "col": 22, + "tokLen": 18 + } + }, + "inner": [ + { + "id": "0x558a51f2d4b0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 25098, + "line": 825, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25103, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f2d498", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25100, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25100, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f2d478", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25100, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25100, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f2c150", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25098, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25098, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f2d460", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25103, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 25103, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f2c170", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 25103, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 25103, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"g2_hc_lg\"" + } + ] + } + ] + }, + { + "id": "0x558a51f2d550", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 25123, + "line": 826, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 25136, + "col": 22, + "tokLen": 18 + } + }, + "inner": [ + { + "id": "0x558a51f2d520", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25130, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 25136, + "col": 22, + "tokLen": 18 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152df80", + "kind": "EnumConstantDecl", + "name": "G2_HIGHCAP_LOWGAIN", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f2e990", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 25160, + "line": 827, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 25202, + "line": 828, + "col": 22, + "tokLen": 18 + } + }, + "inner": [ + { + "id": "0x558a51f2e8e0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 25164, + "line": 827, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25169, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f2e8c8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25166, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25166, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f2e8a8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25166, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25166, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f2d580", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25164, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25164, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f2e890", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25169, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 25169, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f2d5a0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 25169, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 25169, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"g2_lc_hg\"" + } + ] + } + ] + }, + { + "id": "0x558a51f2e980", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 25189, + "line": 828, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 25202, + "col": 22, + "tokLen": 18 + } + }, + "inner": [ + { + "id": "0x558a51f2e950", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25196, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 25202, + "col": 22, + "tokLen": 18 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152dfd8", + "kind": "EnumConstantDecl", + "name": "G2_LOWCAP_HIGHGAIN", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f2fdc0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 25226, + "line": 829, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 25268, + "line": 830, + "col": 22, + "tokLen": 17 + } + }, + "inner": [ + { + "id": "0x558a51f2fd10", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 25230, + "line": 829, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25235, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f2fcf8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25232, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25232, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f2fcd8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25232, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25232, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f2e9b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25230, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25230, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f2fcc0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25235, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 25235, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f2e9d0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 25235, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 25235, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"g2_lc_lg\"" + } + ] + } + ] + }, + { + "id": "0x558a51f2fdb0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 25255, + "line": 830, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 25268, + "col": 22, + "tokLen": 17 + } + }, + "inner": [ + { + "id": "0x558a51f2fd80", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25262, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 25268, + "col": 22, + "tokLen": 17 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e030", + "kind": "EnumConstantDecl", + "name": "G2_LOWCAP_LOWGAIN", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f311f0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 25291, + "line": 831, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 25330, + "line": 832, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51f31140", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 25295, + "line": 831, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25300, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f31128", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25297, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25297, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f31108", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25297, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25297, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f2fde0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25295, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25295, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f310f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25300, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 25300, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f2fe00", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 25300, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 25300, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"g4_hg\"" + } + ] + } + ] + }, + { + "id": "0x558a51f311e0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 25317, + "line": 832, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 25330, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51f311b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25324, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 25330, + "col": 22, + "tokLen": 11 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e088", + "kind": "EnumConstantDecl", + "name": "G4_HIGHGAIN", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f32620", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 25347, + "line": 833, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 25386, + "line": 834, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f32570", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 25351, + "line": 833, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25356, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f32558", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25353, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25353, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f32538", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25353, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25353, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f31210", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25351, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25351, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f32520", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25356, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 25356, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f31230", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 25356, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 25356, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"gain0\"" + } + ] + } + ] + }, + { + "id": "0x558a51f32610", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 25373, + "line": 834, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 25386, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f325e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25380, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 25386, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e138", + "kind": "EnumConstantDecl", + "name": "GAIN0", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f33a50", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 25397, + "line": 835, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 25436, + "line": 836, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f339a0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 25401, + "line": 835, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25406, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f33988", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25403, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25403, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f33968", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25403, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25403, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f32640", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25401, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25401, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f33950", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25406, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 25406, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f32660", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 25406, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 25406, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"g4_lg\"" + } + ] + } + ] + }, + { + "id": "0x558a51f33a40", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 25423, + "line": 836, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 25436, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f33a10", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25430, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 25436, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e0e0", + "kind": "EnumConstantDecl", + "name": "G4_LOWGAIN", + "type": { + "qualType": "slsDetectorDefs::detectorSettings" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f34070", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 25452, + "line": 837, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 25493, + "col": 46, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51f34058", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 25452, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 25493, + "col": 46, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51f34030", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 25458, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 25493, + "col": 46, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a51f34010", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 25458, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 25493, + "col": 46, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51f34008", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51f33fd8", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 25458, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 25493, + "col": 46, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51f33fc0", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 25471, + "col": 24, + "tokLen": 18 + }, + "end": { + "offset": 25492, + "col": 45, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a51f33fa8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25471, + "col": 24, + "tokLen": 18 + }, + "end": { + "offset": 25492, + "col": 45, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51f33f88", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 25471, + "col": 24, + "tokLen": 18 + }, + "end": { + "offset": 25492, + "col": 45, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a51f33f80", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51f33f48", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 25471, + "col": 24, + "tokLen": 18 + }, + "end": { + "offset": 25492, + "col": 45, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f33f30", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25490, + "col": 43, + "tokLen": 1 + }, + "end": { + "offset": 25490, + "col": 43, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f33f10", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25490, + "col": 43, + "tokLen": 1 + }, + "end": { + "offset": 25490, + "col": 43, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a51f33ef8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25471, + "col": 24, + "tokLen": 18 + }, + "end": { + "offset": 25471, + "col": 24, + "tokLen": 18 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f33a80", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 25471, + "col": 24, + "tokLen": 18 + }, + "end": { + "offset": 25471, + "col": 24, + "tokLen": 18 + } + }, + "type": { + "qualType": "const char[17]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown setting \"" + } + ] + }, + { + "id": "0x558a51f33aa8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25492, + "col": 45, + "tokLen": 1 + }, + "end": { + "offset": 25492, + "col": 45, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f1a3c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +}, +{ + "id": "0x558a51f342d0", + "kind": "FunctionDecl", + "loc": { + "offset": 25528, + "file": "ToString.cpp", + "line": 840, + "col": 30, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 25499, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 26053, + "line": 858, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bba5c0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs10speedLevelEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::speedLevel (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::speedLevel" + }, + "inner": [ + { + "id": "0x558a5152e840", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::speedLevel" + }, + "decl": { + "id": "0x558a5152e798", + "kind": "EnumDecl", + "name": "speedLevel" + } + } + ] + }, + { + "id": "0x558a51f341f0", + "kind": "ParmVarDecl", + "loc": { + "offset": 25556, + "line": 840, + "col": 58, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 25537, + "col": 39, + "tokLen": 5 + }, + "end": { + "offset": 25556, + "col": 58, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51f3ec58", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 25559, + "col": 61, + "tokLen": 1 + }, + "end": { + "offset": 26053, + "line": 858, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51f358d0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 25565, + "line": 841, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 25609, + "line": 842, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f35820", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 25569, + "line": 841, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25574, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f35808", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25571, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25571, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f357e8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25571, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25571, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f344b8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25569, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25569, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f341f0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f357d0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25574, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 25574, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f344d8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 25574, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 25574, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char[11]" + }, + "valueCategory": "lvalue", + "value": "\"full_speed\"" + } + ] + } + ] + }, + { + "id": "0x558a51f358c0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 25596, + "line": 842, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 25609, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f35890", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25603, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 25609, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::speedLevel" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e860", + "kind": "EnumConstantDecl", + "name": "FULL_SPEED", + "type": { + "qualType": "slsDetectorDefs::speedLevel" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f36d00", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 25625, + "line": 843, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 25660, + "line": 844, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f36c50", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 25629, + "line": 843, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25634, + "col": 14, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f36c38", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25631, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25631, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f36c18", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25631, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25631, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f358f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25629, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25629, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f341f0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f36c00", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25634, + "col": 14, + "tokLen": 3 + }, + "end": { + "offset": 25634, + "col": 14, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f35910", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 25634, + "col": 14, + "tokLen": 3 + }, + "end": { + "offset": 25634, + "col": 14, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char[2]" + }, + "valueCategory": "lvalue", + "value": "\"0\"" + } + ] + } + ] + }, + { + "id": "0x558a51f36cf0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 25647, + "line": 844, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 25660, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f36cc0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25654, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 25660, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::speedLevel" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e860", + "kind": "EnumConstantDecl", + "name": "FULL_SPEED", + "type": { + "qualType": "slsDetectorDefs::speedLevel" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f38130", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 25676, + "line": 845, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 25720, + "line": 846, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f38080", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 25680, + "line": 845, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25685, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f38068", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25682, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25682, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f38048", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25682, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25682, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f36d20", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25680, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25680, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f341f0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f38030", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25685, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 25685, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f36d40", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 25685, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 25685, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char[11]" + }, + "valueCategory": "lvalue", + "value": "\"half_speed\"" + } + ] + } + ] + }, + { + "id": "0x558a51f38120", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 25707, + "line": 846, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 25720, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f380f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25714, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 25720, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::speedLevel" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e8b8", + "kind": "EnumConstantDecl", + "name": "HALF_SPEED", + "type": { + "qualType": "slsDetectorDefs::speedLevel" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f39560", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 25736, + "line": 847, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 25771, + "line": 848, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f394b0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 25740, + "line": 847, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25745, + "col": 14, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f39498", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25742, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25742, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f39478", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25742, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25742, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f38150", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25740, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25740, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f341f0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f39460", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25745, + "col": 14, + "tokLen": 3 + }, + "end": { + "offset": 25745, + "col": 14, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f38170", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 25745, + "col": 14, + "tokLen": 3 + }, + "end": { + "offset": 25745, + "col": 14, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char[2]" + }, + "valueCategory": "lvalue", + "value": "\"1\"" + } + ] + } + ] + }, + { + "id": "0x558a51f39550", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 25758, + "line": 848, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 25771, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f39520", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25765, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 25771, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::speedLevel" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e8b8", + "kind": "EnumConstantDecl", + "name": "HALF_SPEED", + "type": { + "qualType": "slsDetectorDefs::speedLevel" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f3a990", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 25787, + "line": 849, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 25834, + "line": 850, + "col": 22, + "tokLen": 13 + } + }, + "inner": [ + { + "id": "0x558a51f3a8e0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 25791, + "line": 849, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25796, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f3a8c8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25793, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25793, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f3a8a8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25793, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25793, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f39580", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25791, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25791, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f341f0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f3a890", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25796, + "col": 14, + "tokLen": 15 + }, + "end": { + "offset": 25796, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f395a0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 25796, + "col": 14, + "tokLen": 15 + }, + "end": { + "offset": 25796, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "const char[14]" + }, + "valueCategory": "lvalue", + "value": "\"quarter_speed\"" + } + ] + } + ] + }, + { + "id": "0x558a51f3a980", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 25821, + "line": 850, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 25834, + "col": 22, + "tokLen": 13 + } + }, + "inner": [ + { + "id": "0x558a51f3a950", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25828, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 25834, + "col": 22, + "tokLen": 13 + } + }, + "type": { + "qualType": "slsDetectorDefs::speedLevel" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e910", + "kind": "EnumConstantDecl", + "name": "QUARTER_SPEED", + "type": { + "qualType": "slsDetectorDefs::speedLevel" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f3bdc0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 25853, + "line": 851, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 25888, + "line": 852, + "col": 22, + "tokLen": 13 + } + }, + "inner": [ + { + "id": "0x558a51f3bd10", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 25857, + "line": 851, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25862, + "col": 14, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f3bcf8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25859, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25859, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f3bcd8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25859, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25859, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f3a9b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25857, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25857, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f341f0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f3bcc0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25862, + "col": 14, + "tokLen": 3 + }, + "end": { + "offset": 25862, + "col": 14, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f3a9d0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 25862, + "col": 14, + "tokLen": 3 + }, + "end": { + "offset": 25862, + "col": 14, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char[2]" + }, + "valueCategory": "lvalue", + "value": "\"2\"" + } + ] + } + ] + }, + { + "id": "0x558a51f3bdb0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 25875, + "line": 852, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 25888, + "col": 22, + "tokLen": 13 + } + }, + "inner": [ + { + "id": "0x558a51f3bd80", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25882, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 25888, + "col": 22, + "tokLen": 13 + } + }, + "type": { + "qualType": "slsDetectorDefs::speedLevel" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e910", + "kind": "EnumConstantDecl", + "name": "QUARTER_SPEED", + "type": { + "qualType": "slsDetectorDefs::speedLevel" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f3d1f0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 25907, + "line": 853, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 25944, + "line": 854, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51f3d140", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 25911, + "line": 853, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25916, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f3d128", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25913, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25913, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f3d108", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25913, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25913, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f3bde0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25911, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25911, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f341f0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f3d0f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25916, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 25916, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f3be00", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 25916, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 25916, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char[4]" + }, + "valueCategory": "lvalue", + "value": "\"108\"" + } + ] + } + ] + }, + { + "id": "0x558a51f3d1e0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 25931, + "line": 854, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 25944, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51f3d1b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25938, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 25944, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::speedLevel" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e968", + "kind": "EnumConstantDecl", + "name": "G2_108MHZ", + "type": { + "qualType": "slsDetectorDefs::speedLevel" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f3e620", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 25959, + "line": 855, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 25996, + "line": 856, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51f3e570", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 25963, + "line": 855, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25968, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f3e558", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25965, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25965, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f3e538", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25965, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 25965, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f3d210", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25963, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 25963, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f341f0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f3e520", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 25968, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 25968, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f3d230", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 25968, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 25968, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char[4]" + }, + "valueCategory": "lvalue", + "value": "\"144\"" + } + ] + } + ] + }, + { + "id": "0x558a51f3e610", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 25983, + "line": 856, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 25996, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51f3e5e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 25990, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 25996, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::speedLevel" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e9c0", + "kind": "EnumConstantDecl", + "name": "G2_144MHZ", + "type": { + "qualType": "slsDetectorDefs::speedLevel" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f3ec40", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 26011, + "line": 857, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 26050, + "col": 44, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51f3ec28", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 26011, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 26050, + "col": 44, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51f3ec00", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 26017, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 26050, + "col": 44, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a51f3ebe0", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 26017, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 26050, + "col": 44, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51f3ebd8", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51f3eba8", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 26017, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 26050, + "col": 44, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51f3eb90", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 26030, + "col": 24, + "tokLen": 16 + }, + "end": { + "offset": 26049, + "col": 43, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a51f3eb78", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26030, + "col": 24, + "tokLen": 16 + }, + "end": { + "offset": 26049, + "col": 43, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51f3eb58", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 26030, + "col": 24, + "tokLen": 16 + }, + "end": { + "offset": 26049, + "col": 43, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a51f3eb50", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51f3eb18", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 26030, + "col": 24, + "tokLen": 16 + }, + "end": { + "offset": 26049, + "col": 43, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f3eb00", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26047, + "col": 41, + "tokLen": 1 + }, + "end": { + "offset": 26047, + "col": 41, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f3eae0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26047, + "col": 41, + "tokLen": 1 + }, + "end": { + "offset": 26047, + "col": 41, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a51f3eac8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26030, + "col": 24, + "tokLen": 16 + }, + "end": { + "offset": 26030, + "col": 24, + "tokLen": 16 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f3e650", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 26030, + "col": 24, + "tokLen": 16 + }, + "end": { + "offset": 26030, + "col": 24, + "tokLen": 16 + } + }, + "type": { + "qualType": "const char[15]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown speed \"" + } + ] + }, + { + "id": "0x558a51f3e678", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26049, + "col": 43, + "tokLen": 1 + }, + "end": { + "offset": 26049, + "col": 43, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f341f0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +}, +{ + "id": "0x558a51f3ee40", + "kind": "FunctionDecl", + "loc": { + "offset": 26085, + "file": "ToString.cpp", + "line": 860, + "col": 30, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 26056, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 26472, + "line": 872, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bbab50", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs10timingModeEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::timingMode (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::timingMode" + }, + "inner": [ + { + "id": "0x558a5152b060", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::timingMode" + }, + "decl": { + "id": "0x558a5152afb8", + "kind": "EnumDecl", + "name": "timingMode" + } + } + ] + }, + { + "id": "0x558a51f3ed60", + "kind": "ParmVarDecl", + "loc": { + "offset": 26113, + "line": 860, + "col": 58, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 26094, + "col": 39, + "tokLen": 5 + }, + "end": { + "offset": 26113, + "col": 58, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51f45b30", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 26116, + "col": 61, + "tokLen": 1 + }, + "end": { + "offset": 26472, + "line": 872, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51f40430", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 26122, + "line": 861, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 26160, + "line": 862, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51f40380", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 26126, + "line": 861, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26131, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f40368", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26128, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26128, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f40348", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26128, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26128, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f3f028", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26126, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26126, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f3ed60", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f40330", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26131, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 26131, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f3f048", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 26131, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 26131, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char[5]" + }, + "valueCategory": "lvalue", + "value": "\"auto\"" + } + ] + } + ] + }, + { + "id": "0x558a51f40420", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 26147, + "line": 862, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 26160, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51f403f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26154, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 26160, + "col": 22, + "tokLen": 11 + } + }, + "type": { + "qualType": "slsDetectorDefs::timingMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b080", + "kind": "EnumConstantDecl", + "name": "AUTO_TIMING", + "type": { + "qualType": "slsDetectorDefs::timingMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f41860", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 26177, + "line": 863, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 26218, + "line": 864, + "col": 22, + "tokLen": 16 + } + }, + "inner": [ + { + "id": "0x558a51f417b0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 26181, + "line": 863, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26186, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f41798", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26183, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26183, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f41778", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26183, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26183, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f40450", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26181, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26181, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f3ed60", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f41760", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26186, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 26186, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f40470", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 26186, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 26186, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char[8]" + }, + "valueCategory": "lvalue", + "value": "\"trigger\"" + } + ] + } + ] + }, + { + "id": "0x558a51f41850", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 26205, + "line": 864, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 26218, + "col": 22, + "tokLen": 16 + } + }, + "inner": [ + { + "id": "0x558a51f41820", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26212, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 26218, + "col": 22, + "tokLen": 16 + } + }, + "type": { + "qualType": "slsDetectorDefs::timingMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b0d8", + "kind": "EnumConstantDecl", + "name": "TRIGGER_EXPOSURE", + "type": { + "qualType": "slsDetectorDefs::timingMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f42c90", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 26240, + "line": 865, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 26280, + "line": 866, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f42be0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 26244, + "line": 865, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26249, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f42bc8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26246, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26246, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f42ba8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26246, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26246, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f41880", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26244, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26244, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f3ed60", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f42b90", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26249, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 26249, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f418a0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 26249, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 26249, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"gating\"" + } + ] + } + ] + }, + { + "id": "0x558a51f42c80", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 26267, + "line": 866, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 26280, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f42c50", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26274, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 26280, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::timingMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b130", + "kind": "EnumConstantDecl", + "name": "GATED", + "type": { + "qualType": "slsDetectorDefs::timingMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f440c0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 26291, + "line": 867, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 26338, + "line": 868, + "col": 22, + "tokLen": 13 + } + }, + "inner": [ + { + "id": "0x558a51f44010", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 26295, + "line": 867, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26300, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f43ff8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26297, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26297, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f43fd8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26297, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26297, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f42cb0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26295, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26295, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f3ed60", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f43fc0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26300, + "col": 14, + "tokLen": 15 + }, + "end": { + "offset": 26300, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f42cd0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 26300, + "col": 14, + "tokLen": 15 + }, + "end": { + "offset": 26300, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "const char[14]" + }, + "valueCategory": "lvalue", + "value": "\"burst_trigger\"" + } + ] + } + ] + }, + { + "id": "0x558a51f440b0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 26325, + "line": 868, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 26338, + "col": 22, + "tokLen": 13 + } + }, + "inner": [ + { + "id": "0x558a51f44080", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26332, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 26338, + "col": 22, + "tokLen": 13 + } + }, + "type": { + "qualType": "slsDetectorDefs::timingMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b188", + "kind": "EnumConstantDecl", + "name": "BURST_TRIGGER", + "type": { + "qualType": "slsDetectorDefs::timingMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f454f0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 26357, + "line": 869, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 26405, + "line": 870, + "col": 22, + "tokLen": 13 + } + }, + "inner": [ + { + "id": "0x558a51f45440", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 26361, + "line": 869, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26366, + "col": 14, + "tokLen": 16 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f45428", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26363, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26363, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f45408", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26363, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26363, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f440e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26361, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26361, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f3ed60", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f453f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26366, + "col": 14, + "tokLen": 16 + }, + "end": { + "offset": 26366, + "col": 14, + "tokLen": 16 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f44100", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 26366, + "col": 14, + "tokLen": 16 + }, + "end": { + "offset": 26366, + "col": 14, + "tokLen": 16 + } + }, + "type": { + "qualType": "const char[15]" + }, + "valueCategory": "lvalue", + "value": "\"trigger_gating\"" + } + ] + } + ] + }, + { + "id": "0x558a51f454e0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 26392, + "line": 870, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 26405, + "col": 22, + "tokLen": 13 + } + }, + "inner": [ + { + "id": "0x558a51f454b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26399, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 26405, + "col": 22, + "tokLen": 13 + } + }, + "type": { + "qualType": "slsDetectorDefs::timingMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b1e0", + "kind": "EnumConstantDecl", + "name": "TRIGGER_GATED", + "type": { + "qualType": "slsDetectorDefs::timingMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f45b18", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 26424, + "line": 871, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 26469, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51f45b00", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 26424, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 26469, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51f45ad8", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 26430, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 26469, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a51f45ab8", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 26430, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 26469, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51f45ab0", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51f45a80", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 26430, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 26469, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51f45a68", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 26443, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 26468, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a51f45a50", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26443, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 26468, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51f45a30", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 26443, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 26468, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a51f45a28", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51f459f0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 26443, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 26468, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f459d8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26466, + "col": 47, + "tokLen": 1 + }, + "end": { + "offset": 26466, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f459b8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26466, + "col": 47, + "tokLen": 1 + }, + "end": { + "offset": 26466, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a51f459a0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26443, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 26443, + "col": 24, + "tokLen": 22 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f45520", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 26443, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 26443, + "col": 24, + "tokLen": 22 + } + }, + "type": { + "qualType": "const char[21]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown timing mode \"" + } + ] + }, + { + "id": "0x558a51f45550", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26468, + "col": 49, + "tokLen": 1 + }, + "end": { + "offset": 26468, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f3ed60", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +}, +{ + "id": "0x558a51f45d00", + "kind": "FunctionDecl", + "loc": { + "offset": 26512, + "file": "ToString.cpp", + "line": 874, + "col": 38, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 26475, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 26813, + "line": 882, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bbb0e0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs18frameDiscardPolicyEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::frameDiscardPolicy (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::frameDiscardPolicy" + }, + "inner": [ + { + "id": "0x558a51529090", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::frameDiscardPolicy" + }, + "decl": { + "id": "0x558a51528fe8", + "kind": "EnumDecl", + "name": "frameDiscardPolicy" + } + } + ] + }, + { + "id": "0x558a51f45c20", + "kind": "ParmVarDecl", + "loc": { + "offset": 26540, + "line": 874, + "col": 66, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 26521, + "col": 47, + "tokLen": 5 + }, + "end": { + "offset": 26540, + "col": 66, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51f4a200", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 26543, + "col": 69, + "tokLen": 1 + }, + "end": { + "offset": 26813, + "line": 882, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51f47320", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 26549, + "line": 875, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 26592, + "line": 876, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f47270", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 26553, + "line": 875, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26558, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f47258", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26555, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26555, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f47238", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26555, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26555, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f45ee8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26553, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26553, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f45c20", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f47220", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26558, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 26558, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f45f08", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 26558, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 26558, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"nodiscard\"" + } + ] + } + ] + }, + { + "id": "0x558a51f47310", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 26579, + "line": 876, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 26592, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f472e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26586, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 26592, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::frameDiscardPolicy" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a515290b0", + "kind": "EnumConstantDecl", + "name": "NO_DISCARD", + "type": { + "qualType": "slsDetectorDefs::frameDiscardPolicy" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f48750", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 26608, + "line": 877, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 26654, + "line": 878, + "col": 22, + "tokLen": 20 + } + }, + "inner": [ + { + "id": "0x558a51f486a0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 26612, + "line": 877, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26617, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f48688", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26614, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26614, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f48668", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26614, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26614, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f47340", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26612, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26612, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f45c20", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f48650", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26617, + "col": 14, + "tokLen": 14 + }, + "end": { + "offset": 26617, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f47360", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 26617, + "col": 14, + "tokLen": 14 + }, + "end": { + "offset": 26617, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "const char[13]" + }, + "valueCategory": "lvalue", + "value": "\"discardempty\"" + } + ] + } + ] + }, + { + "id": "0x558a51f48740", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 26641, + "line": 878, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 26654, + "col": 22, + "tokLen": 20 + } + }, + "inner": [ + { + "id": "0x558a51f48710", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26648, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 26654, + "col": 22, + "tokLen": 20 + } + }, + "type": { + "qualType": "slsDetectorDefs::frameDiscardPolicy" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a51529108", + "kind": "EnumConstantDecl", + "name": "DISCARD_EMPTY_FRAMES", + "type": { + "qualType": "slsDetectorDefs::frameDiscardPolicy" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f49b80", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 26680, + "line": 879, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 26728, + "line": 880, + "col": 22, + "tokLen": 22 + } + }, + "inner": [ + { + "id": "0x558a51f49ad0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 26684, + "line": 879, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26689, + "col": 14, + "tokLen": 16 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f49ab8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26686, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26686, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f49a98", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26686, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26686, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f48770", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26684, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26684, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f45c20", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f49a80", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26689, + "col": 14, + "tokLen": 16 + }, + "end": { + "offset": 26689, + "col": 14, + "tokLen": 16 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f48790", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 26689, + "col": 14, + "tokLen": 16 + }, + "end": { + "offset": 26689, + "col": 14, + "tokLen": 16 + } + }, + "type": { + "qualType": "const char[15]" + }, + "valueCategory": "lvalue", + "value": "\"discardpartial\"" + } + ] + } + ] + }, + { + "id": "0x558a51f49b70", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 26715, + "line": 880, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 26728, + "col": 22, + "tokLen": 22 + } + }, + "inner": [ + { + "id": "0x558a51f49b40", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26722, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 26728, + "col": 22, + "tokLen": 22 + } + }, + "type": { + "qualType": "slsDetectorDefs::frameDiscardPolicy" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a51529160", + "kind": "EnumConstantDecl", + "name": "DISCARD_PARTIAL_FRAMES", + "type": { + "qualType": "slsDetectorDefs::frameDiscardPolicy" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f4a1e8", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 26756, + "line": 881, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 26810, + "col": 59, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51f4a1d0", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 26756, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 26810, + "col": 59, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51f4a1a8", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 26762, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 26810, + "col": 59, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a51f4a188", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 26762, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 26810, + "col": 59, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51f4a180", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51f4a150", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 26762, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 26810, + "col": 59, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51f4a138", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 26775, + "col": 24, + "tokLen": 31 + }, + "end": { + "offset": 26809, + "col": 58, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a51f4a120", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26775, + "col": 24, + "tokLen": 31 + }, + "end": { + "offset": 26809, + "col": 58, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51f4a100", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 26775, + "col": 24, + "tokLen": 31 + }, + "end": { + "offset": 26809, + "col": 58, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a51f4a0f8", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51f4a0c0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 26775, + "col": 24, + "tokLen": 31 + }, + "end": { + "offset": 26809, + "col": 58, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f4a0a8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26807, + "col": 56, + "tokLen": 1 + }, + "end": { + "offset": 26807, + "col": 56, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f4a088", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26807, + "col": 56, + "tokLen": 1 + }, + "end": { + "offset": 26807, + "col": 56, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a51f4a070", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26775, + "col": 24, + "tokLen": 31 + }, + "end": { + "offset": 26775, + "col": 24, + "tokLen": 31 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f49bb0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 26775, + "col": 24, + "tokLen": 31 + }, + "end": { + "offset": 26775, + "col": 24, + "tokLen": 31 + } + }, + "type": { + "qualType": "const char[30]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown frame discard policy \"" + } + ] + }, + { + "id": "0x558a51f49be8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26809, + "col": 58, + "tokLen": 1 + }, + "end": { + "offset": 26809, + "col": 58, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f45c20", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +}, +{ + "id": "0x558a51f4a3c0", + "kind": "FunctionDecl", + "loc": { + "offset": 26845, + "file": "ToString.cpp", + "line": 884, + "col": 30, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 26816, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 27030, + "line": 890, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bbb670", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs10fileFormatEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::fileFormat (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::fileFormat" + }, + "inner": [ + { + "id": "0x558a515292b0", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::fileFormat" + }, + "decl": { + "id": "0x558a51529210", + "kind": "EnumDecl", + "name": "fileFormat" + } + } + ] + }, + { + "id": "0x558a51f4a2e0", + "kind": "ParmVarDecl", + "loc": { + "offset": 26873, + "line": 884, + "col": 58, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 26854, + "col": 39, + "tokLen": 5 + }, + "end": { + "offset": 26873, + "col": 58, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51f4d420", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 26876, + "col": 61, + "tokLen": 1 + }, + "end": { + "offset": 27030, + "line": 890, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51f4b9b0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 26882, + "line": 885, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 26920, + "line": 886, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51f4b900", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 26886, + "line": 885, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26891, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f4b8e8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26888, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26888, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f4b8c8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26888, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26888, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f4a5a8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26886, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26886, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f4a2e0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f4b8b0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26891, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 26891, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f4a5c8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 26891, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 26891, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char[5]" + }, + "valueCategory": "lvalue", + "value": "\"hdf5\"" + } + ] + } + ] + }, + { + "id": "0x558a51f4b9a0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 26907, + "line": 886, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 26920, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51f4b970", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26914, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 26920, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "slsDetectorDefs::fileFormat" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a51529328", + "kind": "EnumConstantDecl", + "name": "HDF5", + "type": { + "qualType": "slsDetectorDefs::fileFormat" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f4cde0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 26930, + "line": 887, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 26970, + "line": 888, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f4cd30", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 26934, + "line": 887, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26939, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f4cd18", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26936, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26936, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f4ccf8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26936, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 26936, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f4b9d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26934, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 26934, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f4a2e0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f4cce0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 26939, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 26939, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f4b9f0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 26939, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 26939, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"binary\"" + } + ] + } + ] + }, + { + "id": "0x558a51f4cdd0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 26957, + "line": 888, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 26970, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f4cda0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 26964, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 26970, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::fileFormat" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a515292d0", + "kind": "EnumConstantDecl", + "name": "BINARY", + "type": { + "qualType": "slsDetectorDefs::fileFormat" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f4d408", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 26982, + "line": 889, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 27027, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51f4d3f0", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 26982, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 27027, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51f4d3c8", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 26988, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 27027, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a51f4d3a8", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 26988, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 27027, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51f4d3a0", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51f4d370", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 26988, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 27027, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51f4d358", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 27001, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 27026, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a51f4d340", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27001, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 27026, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51f4d320", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 27001, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 27026, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a51f4d318", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51f4d2e0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 27001, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 27026, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f4d2c8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27024, + "col": 47, + "tokLen": 1 + }, + "end": { + "offset": 27024, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f4d2a8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27024, + "col": 47, + "tokLen": 1 + }, + "end": { + "offset": 27024, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a51f4d290", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27001, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 27001, + "col": 24, + "tokLen": 22 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f4ce10", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 27001, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 27001, + "col": 24, + "tokLen": 22 + } + }, + "type": { + "qualType": "const char[21]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown file format \"" + } + ] + }, + { + "id": "0x558a51f4ce40", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27026, + "col": 49, + "tokLen": 1 + }, + "end": { + "offset": 27026, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f4a2e0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +}, +{ + "id": "0x558a51f4d5d0", + "kind": "FunctionDecl", + "loc": { + "offset": 27070, + "file": "ToString.cpp", + "line": 892, + "col": 38, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 27033, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 27464, + "line": 902, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bbbc00", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs18externalSignalFlagEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::externalSignalFlag (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::externalSignalFlag" + }, + "inner": [ + { + "id": "0x558a5152ae10", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::externalSignalFlag" + }, + "decl": { + "id": "0x558a5152ad68", + "kind": "EnumDecl", + "name": "externalSignalFlag" + } + } + ] + }, + { + "id": "0x558a51f4d4f8", + "kind": "ParmVarDecl", + "loc": { + "offset": 27098, + "line": 892, + "col": 66, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 27079, + "col": 47, + "tokLen": 5 + }, + "end": { + "offset": 27098, + "col": 66, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51f52eb8", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 27101, + "col": 69, + "tokLen": 1 + }, + "end": { + "offset": 27464, + "line": 902, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51f4ebd0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 27107, + "line": 893, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 27163, + "line": 894, + "col": 22, + "tokLen": 22 + } + }, + "inner": [ + { + "id": "0x558a51f4eb20", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 27111, + "line": 893, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27116, + "col": 14, + "tokLen": 24 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f4eb08", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27113, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27113, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f4eae8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27113, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27113, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f4d7b8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27111, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27111, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f4d4f8", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f4ead0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27116, + "col": 14, + "tokLen": 24 + }, + "end": { + "offset": 27116, + "col": 14, + "tokLen": 24 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f4d7d8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 27116, + "col": 14, + "tokLen": 24 + }, + "end": { + "offset": 27116, + "col": 14, + "tokLen": 24 + } + }, + "type": { + "qualType": "const char[23]" + }, + "valueCategory": "lvalue", + "value": "\"trigger_in_rising_edge\"" + } + ] + } + ] + }, + { + "id": "0x558a51f4ebc0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 27150, + "line": 894, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 27163, + "col": 22, + "tokLen": 22 + } + }, + "inner": [ + { + "id": "0x558a51f4eb90", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27157, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 27163, + "col": 22, + "tokLen": 22 + } + }, + "type": { + "qualType": "slsDetectorDefs::externalSignalFlag" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152ae30", + "kind": "EnumConstantDecl", + "name": "TRIGGER_IN_RISING_EDGE", + "type": { + "qualType": "slsDetectorDefs::externalSignalFlag" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f50010", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 27191, + "line": 895, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 27248, + "line": 896, + "col": 22, + "tokLen": 23 + } + }, + "inner": [ + { + "id": "0x558a51f4ff60", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 27195, + "line": 895, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27200, + "col": 14, + "tokLen": 25 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f4ff48", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27197, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27197, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f4ff28", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27197, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27197, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f4ebf0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27195, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27195, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f4d4f8", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f4ff10", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27200, + "col": 14, + "tokLen": 25 + }, + "end": { + "offset": 27200, + "col": 14, + "tokLen": 25 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f4ec10", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 27200, + "col": 14, + "tokLen": 25 + }, + "end": { + "offset": 27200, + "col": 14, + "tokLen": 25 + } + }, + "type": { + "qualType": "const char[24]" + }, + "valueCategory": "lvalue", + "value": "\"trigger_in_falling_edge\"" + } + ] + } + ] + }, + { + "id": "0x558a51f50000", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 27235, + "line": 896, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 27248, + "col": 22, + "tokLen": 23 + } + }, + "inner": [ + { + "id": "0x558a51f4ffd0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27242, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 27248, + "col": 22, + "tokLen": 23 + } + }, + "type": { + "qualType": "slsDetectorDefs::externalSignalFlag" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152ae88", + "kind": "EnumConstantDecl", + "name": "TRIGGER_IN_FALLING_EDGE", + "type": { + "qualType": "slsDetectorDefs::externalSignalFlag" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f51440", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 27277, + "line": 897, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 27323, + "line": 898, + "col": 22, + "tokLen": 12 + } + }, + "inner": [ + { + "id": "0x558a51f51390", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 27281, + "line": 897, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27286, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f51378", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27283, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27283, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f51358", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27283, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27283, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f50030", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27281, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27281, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f4d4f8", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f51340", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27286, + "col": 14, + "tokLen": 14 + }, + "end": { + "offset": 27286, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f50050", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 27286, + "col": 14, + "tokLen": 14 + }, + "end": { + "offset": 27286, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "const char[13]" + }, + "valueCategory": "lvalue", + "value": "\"inversion_on\"" + } + ] + } + ] + }, + { + "id": "0x558a51f51430", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 27310, + "line": 898, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 27323, + "col": 22, + "tokLen": 12 + } + }, + "inner": [ + { + "id": "0x558a51f51400", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27317, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 27323, + "col": 22, + "tokLen": 12 + } + }, + "type": { + "qualType": "slsDetectorDefs::externalSignalFlag" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152aee0", + "kind": "EnumConstantDecl", + "name": "INVERSION_ON", + "type": { + "qualType": "slsDetectorDefs::externalSignalFlag" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f52870", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 27341, + "line": 899, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 27388, + "line": 900, + "col": 22, + "tokLen": 13 + } + }, + "inner": [ + { + "id": "0x558a51f527c0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 27345, + "line": 899, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27350, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f527a8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27347, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27347, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f52788", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27347, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27347, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f51460", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27345, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27345, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f4d4f8", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f52770", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27350, + "col": 14, + "tokLen": 15 + }, + "end": { + "offset": 27350, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f51480", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 27350, + "col": 14, + "tokLen": 15 + }, + "end": { + "offset": 27350, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "const char[14]" + }, + "valueCategory": "lvalue", + "value": "\"inversion_off\"" + } + ] + } + ] + }, + { + "id": "0x558a51f52860", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 27375, + "line": 900, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 27388, + "col": 22, + "tokLen": 13 + } + }, + "inner": [ + { + "id": "0x558a51f52830", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27382, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 27388, + "col": 22, + "tokLen": 13 + } + }, + "type": { + "qualType": "slsDetectorDefs::externalSignalFlag" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152af38", + "kind": "EnumConstantDecl", + "name": "INVERSION_OFF", + "type": { + "qualType": "slsDetectorDefs::externalSignalFlag" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f52ea0", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 27407, + "line": 901, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 27461, + "col": 59, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51f52e88", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 27407, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 27461, + "col": 59, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51f52e60", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 27413, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 27461, + "col": 59, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a51f52e40", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 27413, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 27461, + "col": 59, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51f52e38", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51f52e08", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 27413, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 27461, + "col": 59, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51f52df0", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 27426, + "col": 24, + "tokLen": 31 + }, + "end": { + "offset": 27460, + "col": 58, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a51f52dd8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27426, + "col": 24, + "tokLen": 31 + }, + "end": { + "offset": 27460, + "col": 58, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51f52db8", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 27426, + "col": 24, + "tokLen": 31 + }, + "end": { + "offset": 27460, + "col": 58, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a51f52db0", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51f52d78", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 27426, + "col": 24, + "tokLen": 31 + }, + "end": { + "offset": 27460, + "col": 58, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f52d60", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27458, + "col": 56, + "tokLen": 1 + }, + "end": { + "offset": 27458, + "col": 56, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f52d40", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27458, + "col": 56, + "tokLen": 1 + }, + "end": { + "offset": 27458, + "col": 56, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a51f52d28", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27426, + "col": 24, + "tokLen": 31 + }, + "end": { + "offset": 27426, + "col": 24, + "tokLen": 31 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f528a0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 27426, + "col": 24, + "tokLen": 31 + }, + "end": { + "offset": 27426, + "col": 24, + "tokLen": 31 + } + }, + "type": { + "qualType": "const char[30]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown external signal flag \"" + } + ] + }, + { + "id": "0x558a51f528d8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27460, + "col": 58, + "tokLen": 1 + }, + "end": { + "offset": 27460, + "col": 58, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f4d4f8", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +}, +{ + "id": "0x558a51f53080", + "kind": "FunctionDecl", + "loc": { + "offset": 27497, + "file": "ToString.cpp", + "line": 904, + "col": 31, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 27467, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 27920, + "line": 916, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bbc190", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs11readoutModeEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::readoutMode (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::readoutMode" + }, + "inner": [ + { + "id": "0x558a5152e590", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::readoutMode" + }, + "decl": { + "id": "0x558a5152e4e8", + "kind": "EnumDecl", + "name": "readoutMode" + } + } + ] + }, + { + "id": "0x558a51f52fa0", + "kind": "ParmVarDecl", + "loc": { + "offset": 27525, + "line": 904, + "col": 59, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 27506, + "col": 40, + "tokLen": 5 + }, + "end": { + "offset": 27525, + "col": 59, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51f59db0", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 27528, + "col": 62, + "tokLen": 1 + }, + "end": { + "offset": 27920, + "line": 916, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51f54670", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 27534, + "line": 905, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 27574, + "line": 906, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51f545c0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 27538, + "line": 905, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27543, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f545a8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27540, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27540, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f54588", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27540, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27540, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f53268", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27538, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27538, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f52fa0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f54570", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27543, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 27543, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f53288", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 27543, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 27543, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"analog\"" + } + ] + } + ] + }, + { + "id": "0x558a51f54660", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 27561, + "line": 906, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 27574, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51f54630", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27568, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 27574, + "col": 22, + "tokLen": 11 + } + }, + "type": { + "qualType": "slsDetectorDefs::readoutMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e5b0", + "kind": "EnumConstantDecl", + "name": "ANALOG_ONLY", + "type": { + "qualType": "slsDetectorDefs::readoutMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f55aa0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 27591, + "line": 907, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 27632, + "line": 908, + "col": 22, + "tokLen": 12 + } + }, + "inner": [ + { + "id": "0x558a51f559f0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 27595, + "line": 907, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27600, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f559d8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27597, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27597, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f559b8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27597, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27597, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f54690", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27595, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27595, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f52fa0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f559a0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27600, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 27600, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f546b0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 27600, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 27600, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char[8]" + }, + "valueCategory": "lvalue", + "value": "\"digital\"" + } + ] + } + ] + }, + { + "id": "0x558a51f55a90", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 27619, + "line": 908, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 27632, + "col": 22, + "tokLen": 12 + } + }, + "inner": [ + { + "id": "0x558a51f55a60", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27626, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 27632, + "col": 22, + "tokLen": 12 + } + }, + "type": { + "qualType": "slsDetectorDefs::readoutMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e608", + "kind": "EnumConstantDecl", + "name": "DIGITAL_ONLY", + "type": { + "qualType": "slsDetectorDefs::readoutMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f56ed0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 27650, + "line": 909, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 27698, + "line": 910, + "col": 22, + "tokLen": 18 + } + }, + "inner": [ + { + "id": "0x558a51f56e20", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 27654, + "line": 909, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27659, + "col": 14, + "tokLen": 16 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f56e08", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27656, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27656, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f56de8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27656, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27656, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f55ac0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27654, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27654, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f52fa0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f56dd0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27659, + "col": 14, + "tokLen": 16 + }, + "end": { + "offset": 27659, + "col": 14, + "tokLen": 16 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f55ae0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 27659, + "col": 14, + "tokLen": 16 + }, + "end": { + "offset": 27659, + "col": 14, + "tokLen": 16 + } + }, + "type": { + "qualType": "const char[15]" + }, + "valueCategory": "lvalue", + "value": "\"analog_digital\"" + } + ] + } + ] + }, + { + "id": "0x558a51f56ec0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 27685, + "line": 910, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 27698, + "col": 22, + "tokLen": 18 + } + }, + "inner": [ + { + "id": "0x558a51f56e90", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27692, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 27698, + "col": 22, + "tokLen": 18 + } + }, + "type": { + "qualType": "slsDetectorDefs::readoutMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e660", + "kind": "EnumConstantDecl", + "name": "ANALOG_AND_DIGITAL", + "type": { + "qualType": "slsDetectorDefs::readoutMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f58300", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 27722, + "line": 911, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 27767, + "line": 912, + "col": 22, + "tokLen": 16 + } + }, + "inner": [ + { + "id": "0x558a51f58250", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 27726, + "line": 911, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27731, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f58238", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27728, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27728, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f58218", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27728, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27728, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f56ef0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27726, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27726, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f52fa0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f58200", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27731, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 27731, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f56f10", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 27731, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 27731, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char[12]" + }, + "valueCategory": "lvalue", + "value": "\"transceiver\"" + } + ] + } + ] + }, + { + "id": "0x558a51f582f0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 27754, + "line": 912, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 27767, + "col": 22, + "tokLen": 16 + } + }, + "inner": [ + { + "id": "0x558a51f582c0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27761, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 27767, + "col": 22, + "tokLen": 16 + } + }, + "type": { + "qualType": "slsDetectorDefs::readoutMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e6b8", + "kind": "EnumConstantDecl", + "name": "TRANSCEIVER_ONLY", + "type": { + "qualType": "slsDetectorDefs::readoutMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f59740", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 27789, + "line": 913, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 27842, + "line": 914, + "col": 22, + "tokLen": 23 + } + }, + "inner": [ + { + "id": "0x558a51f59690", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 27793, + "line": 913, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27798, + "col": 14, + "tokLen": 21 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f59678", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27795, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27795, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f59658", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27795, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27795, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f58320", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27793, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27793, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f52fa0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f59640", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27798, + "col": 14, + "tokLen": 21 + }, + "end": { + "offset": 27798, + "col": 14, + "tokLen": 21 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f58340", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 27798, + "col": 14, + "tokLen": 21 + }, + "end": { + "offset": 27798, + "col": 14, + "tokLen": 21 + } + }, + "type": { + "qualType": "const char[20]" + }, + "valueCategory": "lvalue", + "value": "\"digital_transceiver\"" + } + ] + } + ] + }, + { + "id": "0x558a51f59730", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 27829, + "line": 914, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 27842, + "col": 22, + "tokLen": 23 + } + }, + "inner": [ + { + "id": "0x558a51f59700", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27836, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 27842, + "col": 22, + "tokLen": 23 + } + }, + "type": { + "qualType": "slsDetectorDefs::readoutMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152e710", + "kind": "EnumConstantDecl", + "name": "DIGITAL_AND_TRANSCEIVER", + "type": { + "qualType": "slsDetectorDefs::readoutMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f59d98", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 27871, + "line": 915, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 27917, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51f59d80", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 27871, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 27917, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51f59d58", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 27877, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 27917, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a51f59d38", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 27877, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 27917, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51f59d30", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51f59d00", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 27877, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 27917, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51f59ce8", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 27890, + "col": 24, + "tokLen": 23 + }, + "end": { + "offset": 27916, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a51f59cd0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27890, + "col": 24, + "tokLen": 23 + }, + "end": { + "offset": 27916, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51f59cb0", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 27890, + "col": 24, + "tokLen": 23 + }, + "end": { + "offset": 27916, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a51f59ca8", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51f59c70", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 27890, + "col": 24, + "tokLen": 23 + }, + "end": { + "offset": 27916, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f59c58", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27914, + "col": 48, + "tokLen": 1 + }, + "end": { + "offset": 27914, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f59c38", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27914, + "col": 48, + "tokLen": 1 + }, + "end": { + "offset": 27914, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a51f59c20", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27890, + "col": 24, + "tokLen": 23 + }, + "end": { + "offset": 27890, + "col": 24, + "tokLen": 23 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f59770", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 27890, + "col": 24, + "tokLen": 23 + }, + "end": { + "offset": 27890, + "col": 24, + "tokLen": 23 + } + }, + "type": { + "qualType": "const char[22]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown readout mode \"" + } + ] + }, + { + "id": "0x558a51f597a0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27916, + "col": 50, + "tokLen": 1 + }, + "end": { + "offset": 27916, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f52fa0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +}, +{ + "id": "0x558a51f59f80", + "kind": "FunctionDecl", + "loc": { + "offset": 27950, + "file": "ToString.cpp", + "line": 918, + "col": 28, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 27923, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 33113, + "line": 1096, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bbc720", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs8dacIndexEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::dacIndex (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "inner": [ + { + "id": "0x558a5152b360", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "decl": { + "id": "0x558a5152b2b8", + "kind": "EnumDecl", + "name": "dacIndex" + } + } + ] + }, + { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "loc": { + "offset": 27978, + "line": 918, + "col": 56, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 27959, + "col": 37, + "tokLen": 5 + }, + "end": { + "offset": 27978, + "col": 56, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51fdfb00", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 27981, + "col": 59, + "tokLen": 1 + }, + "end": { + "offset": 33113, + "line": 1096, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51f5c920", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 27987, + "line": 919, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 28038, + "line": 920, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f5c888", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 27991, + "line": 919, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28012, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f5b4c0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 27991, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27996, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f5b4a8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27993, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27993, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f5b488", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27993, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 27993, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f5a168", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 27991, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 27991, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f5b470", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 27996, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 27996, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f5a188", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 27996, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 27996, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"dac 0\"" + } + ] + } + ] + }, + { + "id": "0x558a51f5c850", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28007, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28012, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f5c838", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28009, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28009, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f5c818", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28009, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28009, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f5b4f8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28007, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28007, + "col": 25, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f5c800", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28012, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28012, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f5b518", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28012, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28012, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char[2]" + }, + "valueCategory": "lvalue", + "value": "\"0\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f5c910", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 28025, + "line": 920, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 28038, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f5c8e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28032, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 28038, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b380", + "kind": "EnumConstantDecl", + "name": "DAC_0", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f5f100", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 28049, + "line": 921, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 28100, + "line": 922, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f5f068", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 28053, + "line": 921, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28074, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f5dca0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28053, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28058, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f5dc88", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28055, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28055, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f5dc68", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28055, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28055, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f5c940", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28053, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28053, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f5dc50", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28058, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28058, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f5c960", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28058, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28058, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"dac 1\"" + } + ] + } + ] + }, + { + "id": "0x558a51f5f030", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28069, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28074, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f5f018", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28071, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28071, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f5eff8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28071, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28071, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f5dcd8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28069, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28069, + "col": 25, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f5efe0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28074, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28074, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f5dcf8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28074, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28074, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char[2]" + }, + "valueCategory": "lvalue", + "value": "\"1\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f5f0f0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 28087, + "line": 922, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 28100, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f5f0c0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28094, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 28100, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b3d8", + "kind": "EnumConstantDecl", + "name": "DAC_1", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f618e0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 28111, + "line": 923, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 28162, + "line": 924, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f61848", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 28115, + "line": 923, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28136, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f60480", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28115, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28120, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f60468", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28117, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28117, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f60448", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28117, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28117, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f5f120", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28115, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28115, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f60430", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28120, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28120, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f5f140", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28120, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28120, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"dac 2\"" + } + ] + } + ] + }, + { + "id": "0x558a51f61810", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28131, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28136, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f617f8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28133, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28133, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f617d8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28133, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28133, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f604b8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28131, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28131, + "col": 25, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f617c0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28136, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28136, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f604d8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28136, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28136, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char[2]" + }, + "valueCategory": "lvalue", + "value": "\"2\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f618d0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 28149, + "line": 924, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 28162, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f618a0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28156, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 28162, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b430", + "kind": "EnumConstantDecl", + "name": "DAC_2", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f640c0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 28173, + "line": 925, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 28224, + "line": 926, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f64028", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 28177, + "line": 925, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28198, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f62c60", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28177, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28182, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f62c48", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28179, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28179, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f62c28", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28179, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28179, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f61900", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28177, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28177, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f62c10", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28182, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28182, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f61920", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28182, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28182, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"dac 3\"" + } + ] + } + ] + }, + { + "id": "0x558a51f63ff0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28193, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28198, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f63fd8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28195, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28195, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f63fb8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28195, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28195, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f62c98", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28193, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28193, + "col": 25, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f63fa0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28198, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28198, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f62cb8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28198, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28198, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char[2]" + }, + "valueCategory": "lvalue", + "value": "\"3\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f640b0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 28211, + "line": 926, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 28224, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f64080", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28218, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 28224, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b488", + "kind": "EnumConstantDecl", + "name": "DAC_3", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f668b0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 28235, + "line": 927, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 28286, + "line": 928, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f66818", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 28239, + "line": 927, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28260, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f65440", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28239, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28244, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f65428", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28241, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28241, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f65408", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28241, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28241, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f640e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28239, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28239, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f653f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28244, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28244, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f64100", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28244, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28244, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"dac 4\"" + } + ] + } + ] + }, + { + "id": "0x558a51f667e0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28255, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28260, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f667c8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28257, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28257, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f667a8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28257, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28257, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f65478", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28255, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28255, + "col": 25, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f66790", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28260, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28260, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f65498", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28260, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28260, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char[2]" + }, + "valueCategory": "lvalue", + "value": "\"4\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f668a0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 28273, + "line": 928, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 28286, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f66870", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28280, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 28286, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b4e0", + "kind": "EnumConstantDecl", + "name": "DAC_4", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f69090", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 28297, + "line": 929, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 28348, + "line": 930, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f68ff8", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 28301, + "line": 929, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28322, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f67c30", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28301, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28306, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f67c18", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28303, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28303, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f67bf8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28303, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28303, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f668d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28301, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28301, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f67be0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28306, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28306, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f668f0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28306, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28306, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"dac 5\"" + } + ] + } + ] + }, + { + "id": "0x558a51f68fc0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28317, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28322, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f68fa8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28319, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28319, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f68f88", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28319, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28319, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f67c68", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28317, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28317, + "col": 25, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f68f70", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28322, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28322, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f67c88", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28322, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28322, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char[2]" + }, + "valueCategory": "lvalue", + "value": "\"5\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f69080", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 28335, + "line": 930, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 28348, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f69050", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28342, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 28348, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b538", + "kind": "EnumConstantDecl", + "name": "DAC_5", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f6b870", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 28359, + "line": 931, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 28410, + "line": 932, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f6b7d8", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 28363, + "line": 931, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28384, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f6a410", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28363, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28368, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f6a3f8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28365, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28365, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f6a3d8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28365, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28365, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f690b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28363, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28363, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f6a3c0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28368, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28368, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f690d0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28368, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28368, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"dac 6\"" + } + ] + } + ] + }, + { + "id": "0x558a51f6b7a0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28379, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28384, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f6b788", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28381, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28381, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f6b768", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28381, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28381, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f6a448", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28379, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28379, + "col": 25, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f6b750", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28384, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28384, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f6a468", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28384, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28384, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char[2]" + }, + "valueCategory": "lvalue", + "value": "\"6\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f6b860", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 28397, + "line": 932, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 28410, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f6b830", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28404, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 28410, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b590", + "kind": "EnumConstantDecl", + "name": "DAC_6", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f6e050", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 28421, + "line": 933, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 28472, + "line": 934, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f6dfb8", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 28425, + "line": 933, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28446, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f6cbf0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28425, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28430, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f6cbd8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28427, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28427, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f6cbb8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28427, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28427, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f6b890", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28425, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28425, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f6cba0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28430, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28430, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f6b8b0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28430, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28430, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"dac 7\"" + } + ] + } + ] + }, + { + "id": "0x558a51f6df80", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28441, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28446, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f6df68", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28443, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28443, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f6df48", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28443, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28443, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f6cc28", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28441, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28441, + "col": 25, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f6df30", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28446, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28446, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f6cc48", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28446, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28446, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char[2]" + }, + "valueCategory": "lvalue", + "value": "\"7\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f6e040", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 28459, + "line": 934, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 28472, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f6e010", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28466, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 28472, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b5e8", + "kind": "EnumConstantDecl", + "name": "DAC_7", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f70830", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 28483, + "line": 935, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 28534, + "line": 936, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f70798", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 28487, + "line": 935, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28508, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f6f3d0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28487, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28492, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f6f3b8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28489, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28489, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f6f398", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28489, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28489, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f6e070", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28487, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28487, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f6f380", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28492, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28492, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f6e090", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28492, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28492, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"dac 8\"" + } + ] + } + ] + }, + { + "id": "0x558a51f70760", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28503, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28508, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f70748", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28505, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28505, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f70728", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28505, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28505, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f6f408", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28503, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28503, + "col": 25, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f70710", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28508, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28508, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f6f428", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28508, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28508, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char[2]" + }, + "valueCategory": "lvalue", + "value": "\"8\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f70820", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 28521, + "line": 936, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 28534, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f707f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28528, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 28534, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b640", + "kind": "EnumConstantDecl", + "name": "DAC_8", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f73010", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 28545, + "line": 937, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 28596, + "line": 938, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f72f78", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 28549, + "line": 937, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28570, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f71bb0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28549, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28554, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f71b98", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28551, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28551, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f71b78", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28551, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28551, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f70850", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28549, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28549, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f71b60", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28554, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28554, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f70870", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28554, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 28554, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"dac 9\"" + } + ] + } + ] + }, + { + "id": "0x558a51f72f40", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28565, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28570, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f72f28", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28567, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28567, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f72f08", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28567, + "col": 27, + "tokLen": 2 + }, + "end": { + "offset": 28567, + "col": 27, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f71be8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28565, + "col": 25, + "tokLen": 1 + }, + "end": { + "offset": 28565, + "col": 25, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f72ef0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28570, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28570, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f71c08", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28570, + "col": 30, + "tokLen": 3 + }, + "end": { + "offset": 28570, + "col": 30, + "tokLen": 3 + } + }, + "type": { + "qualType": "const char[2]" + }, + "valueCategory": "lvalue", + "value": "\"9\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f73000", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 28583, + "line": 938, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 28596, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f72fd0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28590, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 28596, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b698", + "kind": "EnumConstantDecl", + "name": "DAC_9", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f757f0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 28607, + "line": 939, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 28660, + "line": 940, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f75758", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 28611, + "line": 939, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28633, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f74390", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28611, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28616, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f74378", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28613, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28613, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f74358", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28613, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28613, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f73030", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28611, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28611, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f74340", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28616, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 28616, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f73050", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28616, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 28616, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"dac 10\"" + } + ] + } + ] + }, + { + "id": "0x558a51f75720", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28628, + "col": 26, + "tokLen": 1 + }, + "end": { + "offset": 28633, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f75708", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28630, + "col": 28, + "tokLen": 2 + }, + "end": { + "offset": 28630, + "col": 28, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f756e8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28630, + "col": 28, + "tokLen": 2 + }, + "end": { + "offset": 28630, + "col": 28, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f743c8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28628, + "col": 26, + "tokLen": 1 + }, + "end": { + "offset": 28628, + "col": 26, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f756d0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28633, + "col": 31, + "tokLen": 4 + }, + "end": { + "offset": 28633, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f743e8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28633, + "col": 31, + "tokLen": 4 + }, + "end": { + "offset": 28633, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"10\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f757e0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 28647, + "line": 940, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 28660, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f757b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28654, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 28660, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b6f0", + "kind": "EnumConstantDecl", + "name": "DAC_10", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f77fd0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 28672, + "line": 941, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 28725, + "line": 942, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f77f38", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 28676, + "line": 941, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28698, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f76b70", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28676, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28681, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f76b58", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28678, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28678, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f76b38", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28678, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28678, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f75810", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28676, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28676, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f76b20", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28681, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 28681, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f75830", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28681, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 28681, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"dac 11\"" + } + ] + } + ] + }, + { + "id": "0x558a51f77f00", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28693, + "col": 26, + "tokLen": 1 + }, + "end": { + "offset": 28698, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f77ee8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28695, + "col": 28, + "tokLen": 2 + }, + "end": { + "offset": 28695, + "col": 28, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f77ec8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28695, + "col": 28, + "tokLen": 2 + }, + "end": { + "offset": 28695, + "col": 28, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f76ba8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28693, + "col": 26, + "tokLen": 1 + }, + "end": { + "offset": 28693, + "col": 26, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f77eb0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28698, + "col": 31, + "tokLen": 4 + }, + "end": { + "offset": 28698, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f76bc8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28698, + "col": 31, + "tokLen": 4 + }, + "end": { + "offset": 28698, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"11\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f77fc0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 28712, + "line": 942, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 28725, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f77f90", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28719, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 28725, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b748", + "kind": "EnumConstantDecl", + "name": "DAC_11", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f7a7b0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 28737, + "line": 943, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 28790, + "line": 944, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f7a718", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 28741, + "line": 943, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28763, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f79350", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28741, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28746, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f79338", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28743, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28743, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f79318", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28743, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28743, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f77ff0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28741, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28741, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f79300", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28746, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 28746, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f78010", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28746, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 28746, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"dac 12\"" + } + ] + } + ] + }, + { + "id": "0x558a51f7a6e0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28758, + "col": 26, + "tokLen": 1 + }, + "end": { + "offset": 28763, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f7a6c8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28760, + "col": 28, + "tokLen": 2 + }, + "end": { + "offset": 28760, + "col": 28, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f7a6a8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28760, + "col": 28, + "tokLen": 2 + }, + "end": { + "offset": 28760, + "col": 28, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f79388", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28758, + "col": 26, + "tokLen": 1 + }, + "end": { + "offset": 28758, + "col": 26, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f7a690", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28763, + "col": 31, + "tokLen": 4 + }, + "end": { + "offset": 28763, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f793a8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28763, + "col": 31, + "tokLen": 4 + }, + "end": { + "offset": 28763, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"12\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f7a7a0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 28777, + "line": 944, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 28790, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f7a770", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28784, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 28790, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b7a0", + "kind": "EnumConstantDecl", + "name": "DAC_12", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f7cf90", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 28802, + "line": 945, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 28855, + "line": 946, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f7cef8", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 28806, + "line": 945, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28828, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f7bb30", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28806, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28811, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f7bb18", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28808, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28808, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f7baf8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28808, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28808, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f7a7d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28806, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28806, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f7bae0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28811, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 28811, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f7a7f0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28811, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 28811, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"dac 13\"" + } + ] + } + ] + }, + { + "id": "0x558a51f7cec0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28823, + "col": 26, + "tokLen": 1 + }, + "end": { + "offset": 28828, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f7cea8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28825, + "col": 28, + "tokLen": 2 + }, + "end": { + "offset": 28825, + "col": 28, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f7ce88", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28825, + "col": 28, + "tokLen": 2 + }, + "end": { + "offset": 28825, + "col": 28, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f7bb68", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28823, + "col": 26, + "tokLen": 1 + }, + "end": { + "offset": 28823, + "col": 26, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f7ce70", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28828, + "col": 31, + "tokLen": 4 + }, + "end": { + "offset": 28828, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f7bb88", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28828, + "col": 31, + "tokLen": 4 + }, + "end": { + "offset": 28828, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"13\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f7cf80", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 28842, + "line": 946, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 28855, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f7cf50", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28849, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 28855, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b7f8", + "kind": "EnumConstantDecl", + "name": "DAC_13", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f7f770", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 28867, + "line": 947, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 28920, + "line": 948, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f7f6d8", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 28871, + "line": 947, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28893, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f7e310", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28871, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28876, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f7e2f8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28873, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28873, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f7e2d8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28873, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28873, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f7cfb0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28871, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28871, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f7e2c0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28876, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 28876, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f7cfd0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28876, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 28876, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"dac 14\"" + } + ] + } + ] + }, + { + "id": "0x558a51f7f6a0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28888, + "col": 26, + "tokLen": 1 + }, + "end": { + "offset": 28893, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f7f688", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28890, + "col": 28, + "tokLen": 2 + }, + "end": { + "offset": 28890, + "col": 28, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f7f668", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28890, + "col": 28, + "tokLen": 2 + }, + "end": { + "offset": 28890, + "col": 28, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f7e348", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28888, + "col": 26, + "tokLen": 1 + }, + "end": { + "offset": 28888, + "col": 26, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f7f650", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28893, + "col": 31, + "tokLen": 4 + }, + "end": { + "offset": 28893, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f7e368", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28893, + "col": 31, + "tokLen": 4 + }, + "end": { + "offset": 28893, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"14\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f7f760", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 28907, + "line": 948, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 28920, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f7f730", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28914, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 28920, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b850", + "kind": "EnumConstantDecl", + "name": "DAC_14", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f81f50", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 28932, + "line": 949, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 28985, + "line": 950, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f81eb8", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 28936, + "line": 949, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28958, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f80af0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28936, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28941, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f80ad8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28938, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28938, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f80ab8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28938, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 28938, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f7f790", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28936, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 28936, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f80aa0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28941, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 28941, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f7f7b0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28941, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 28941, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"dac 15\"" + } + ] + } + ] + }, + { + "id": "0x558a51f81e80", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 28953, + "col": 26, + "tokLen": 1 + }, + "end": { + "offset": 28958, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f81e68", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28955, + "col": 28, + "tokLen": 2 + }, + "end": { + "offset": 28955, + "col": 28, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f81e48", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28955, + "col": 28, + "tokLen": 2 + }, + "end": { + "offset": 28955, + "col": 28, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f80b28", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28953, + "col": 26, + "tokLen": 1 + }, + "end": { + "offset": 28953, + "col": 26, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f81e30", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 28958, + "col": 31, + "tokLen": 4 + }, + "end": { + "offset": 28958, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f80b48", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 28958, + "col": 31, + "tokLen": 4 + }, + "end": { + "offset": 28958, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"15\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f81f40", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 28972, + "line": 950, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 28985, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f81f10", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 28979, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 28985, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b8a8", + "kind": "EnumConstantDecl", + "name": "DAC_15", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f84730", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 28997, + "line": 951, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29050, + "line": 952, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f84698", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 29001, + "line": 951, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29023, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f832d0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29001, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29006, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f832b8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29003, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29003, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f83298", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29003, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29003, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f81f70", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29001, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29001, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f83280", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29006, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 29006, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f81f90", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29006, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 29006, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"dac 16\"" + } + ] + } + ] + }, + { + "id": "0x558a51f84660", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29018, + "col": 26, + "tokLen": 1 + }, + "end": { + "offset": 29023, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f84648", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29020, + "col": 28, + "tokLen": 2 + }, + "end": { + "offset": 29020, + "col": 28, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f84628", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29020, + "col": 28, + "tokLen": 2 + }, + "end": { + "offset": 29020, + "col": 28, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f83308", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29018, + "col": 26, + "tokLen": 1 + }, + "end": { + "offset": 29018, + "col": 26, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f84610", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29023, + "col": 31, + "tokLen": 4 + }, + "end": { + "offset": 29023, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f83328", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29023, + "col": 31, + "tokLen": 4 + }, + "end": { + "offset": 29023, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"16\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f84720", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29037, + "line": 952, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29050, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f846f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29044, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29050, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b900", + "kind": "EnumConstantDecl", + "name": "DAC_16", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f86f50", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29062, + "line": 953, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29115, + "line": 954, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f86eb8", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 29066, + "line": 953, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29088, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a51f85ab0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29066, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29071, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f85a98", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29068, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29068, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f85a78", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29068, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29068, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f84750", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29066, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29066, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f85a60", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29071, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 29071, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f84770", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29071, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 29071, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"dac 17\"" + } + ] + } + ] + }, + { + "id": "0x558a51f86e80", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29083, + "col": 26, + "tokLen": 1 + }, + "end": { + "offset": 29088, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f86e68", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29085, + "col": 28, + "tokLen": 2 + }, + "end": { + "offset": 29085, + "col": 28, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f86e48", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29085, + "col": 28, + "tokLen": 2 + }, + "end": { + "offset": 29085, + "col": 28, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f85ae8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29083, + "col": 26, + "tokLen": 1 + }, + "end": { + "offset": 29083, + "col": 26, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f86e30", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29088, + "col": 31, + "tokLen": 4 + }, + "end": { + "offset": 29088, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f85b08", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29088, + "col": 31, + "tokLen": 4 + }, + "end": { + "offset": 29088, + "col": 31, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"17\"" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51f86f40", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29102, + "line": 954, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29115, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f86f10", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29109, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29115, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b958", + "kind": "EnumConstantDecl", + "name": "DAC_17", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f88380", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29127, + "line": 955, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29165, + "line": 956, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51f882d0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29131, + "line": 955, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29136, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f882b8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29133, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29133, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f88298", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29133, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29133, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f86f70", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29131, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29131, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f88280", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29136, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 29136, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f86f90", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29136, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 29136, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char[5]" + }, + "valueCategory": "lvalue", + "value": "\"vsvp\"" + } + ] + } + ] + }, + { + "id": "0x558a51f88370", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29152, + "line": 956, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29165, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51f88340", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29159, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29165, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152b9b0", + "kind": "EnumConstantDecl", + "name": "VSVP", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f897b0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29175, + "line": 957, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29214, + "line": 958, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f89700", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29179, + "line": 957, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29184, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f896e8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29181, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29181, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f896c8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29181, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29181, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f883a0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29179, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29179, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f896b0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29184, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 29184, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f883c0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29184, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 29184, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"vtrim\"" + } + ] + } + ] + }, + { + "id": "0x558a51f897a0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29201, + "line": 958, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29214, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51f89770", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29208, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29214, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152ba08", + "kind": "EnumConstantDecl", + "name": "VTRIM", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f8abe0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29225, + "line": 959, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29267, + "line": 960, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f8ab30", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29229, + "line": 959, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29234, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f8ab18", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29231, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29231, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f8aaf8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29231, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29231, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f897d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29229, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29229, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f8aae0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29234, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 29234, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f897f0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29234, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 29234, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"vrpreamp\"" + } + ] + } + ] + }, + { + "id": "0x558a51f8abd0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29254, + "line": 960, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29267, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f8aba0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29261, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29267, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152ba60", + "kind": "EnumConstantDecl", + "name": "VRPREAMP", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f8c010", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29281, + "line": 961, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29323, + "line": 962, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f8bf60", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29285, + "line": 961, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29290, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f8bf48", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29287, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29287, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f8bf28", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29287, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29287, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f8ac00", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29285, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29285, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f8bf10", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29290, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 29290, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f8ac20", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29290, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 29290, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"vrshaper\"" + } + ] + } + ] + }, + { + "id": "0x558a51f8c000", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29310, + "line": 962, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29323, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f8bfd0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29317, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29323, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152bab8", + "kind": "EnumConstantDecl", + "name": "VRSHAPER", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f8d440", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29337, + "line": 963, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29375, + "line": 964, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51f8d390", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29341, + "line": 963, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29346, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f8d378", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29343, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29343, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f8d358", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29343, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29343, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f8c030", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29341, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29341, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f8d340", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29346, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 29346, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f8c050", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29346, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 29346, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char[5]" + }, + "valueCategory": "lvalue", + "value": "\"vsvn\"" + } + ] + } + ] + }, + { + "id": "0x558a51f8d430", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29362, + "line": 964, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29375, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51f8d400", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29369, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29375, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152bb10", + "kind": "EnumConstantDecl", + "name": "VSVN", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f8e870", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29385, + "line": 965, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29425, + "line": 966, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f8e7c0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29389, + "line": 965, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29394, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f8e7a8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29391, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29391, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f8e788", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29391, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29391, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f8d460", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29389, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29389, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f8e770", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29394, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 29394, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f8d480", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29394, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 29394, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"vtgstv\"" + } + ] + } + ] + }, + { + "id": "0x558a51f8e860", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29412, + "line": 966, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29425, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f8e830", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29419, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29425, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152bb68", + "kind": "EnumConstantDecl", + "name": "VTGSTV", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f8fca0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29437, + "line": 967, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29478, + "line": 968, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51f8fbf0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29441, + "line": 967, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29446, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f8fbd8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29443, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29443, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f8fbb8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29443, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29443, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f8e890", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29441, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29441, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f8fba0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29446, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 29446, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f8e8b0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29446, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 29446, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char[8]" + }, + "valueCategory": "lvalue", + "value": "\"vcmp_ll\"" + } + ] + } + ] + }, + { + "id": "0x558a51f8fc90", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29465, + "line": 968, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29478, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51f8fc60", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29472, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29478, + "col": 22, + "tokLen": 7 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152bbc0", + "kind": "EnumConstantDecl", + "name": "VCMP_LL", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f910d0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29491, + "line": 969, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29532, + "line": 970, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51f91020", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29495, + "line": 969, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29500, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f91008", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29497, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29497, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f90fe8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29497, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29497, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f8fcc0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29495, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29495, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f90fd0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29500, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 29500, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f8fce0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29500, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 29500, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char[8]" + }, + "valueCategory": "lvalue", + "value": "\"vcmp_lr\"" + } + ] + } + ] + }, + { + "id": "0x558a51f910c0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29519, + "line": 970, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29532, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51f91090", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29526, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29532, + "col": 22, + "tokLen": 7 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152bc18", + "kind": "EnumConstantDecl", + "name": "VCMP_LR", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f92500", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29545, + "line": 971, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29583, + "line": 972, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51f92450", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29549, + "line": 971, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29554, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f92438", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29551, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29551, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f92418", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29551, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29551, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f910f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29549, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29549, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f92400", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29554, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 29554, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f91110", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29554, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 29554, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char[5]" + }, + "valueCategory": "lvalue", + "value": "\"vcal\"" + } + ] + } + ] + }, + { + "id": "0x558a51f924f0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29570, + "line": 972, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29583, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51f924c0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29577, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29583, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152bc70", + "kind": "EnumConstantDecl", + "name": "VCAL", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f93930", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29593, + "line": 973, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29634, + "line": 974, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51f93880", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29597, + "line": 973, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29602, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f93868", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29599, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29599, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f93848", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29599, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29599, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f92520", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29597, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29597, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f93830", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29602, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 29602, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f92540", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29602, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 29602, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char[8]" + }, + "valueCategory": "lvalue", + "value": "\"vcmp_rl\"" + } + ] + } + ] + }, + { + "id": "0x558a51f93920", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29621, + "line": 974, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29634, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51f938f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29628, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29634, + "col": 22, + "tokLen": 7 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152bcc8", + "kind": "EnumConstantDecl", + "name": "VCMP_RL", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f94d60", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29647, + "line": 975, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29687, + "line": 976, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f94cb0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29651, + "line": 975, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29656, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f94c98", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29653, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29653, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f94c78", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29653, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29653, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f93950", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29651, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29651, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f94c60", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29656, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 29656, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f93970", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29656, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 29656, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"rxb_rb\"" + } + ] + } + ] + }, + { + "id": "0x558a51f94d50", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29674, + "line": 976, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29687, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f94d20", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29681, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29687, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152bd20", + "kind": "EnumConstantDecl", + "name": "RXB_RB", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f96190", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29699, + "line": 977, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29739, + "line": 978, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f960e0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29703, + "line": 977, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29708, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f960c8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29705, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29705, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f960a8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29705, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29705, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f94d80", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29703, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29703, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f96090", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29708, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 29708, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f94da0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29708, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 29708, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"rxb_lb\"" + } + ] + } + ] + }, + { + "id": "0x558a51f96180", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29726, + "line": 978, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29739, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51f96150", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29733, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29739, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152bd78", + "kind": "EnumConstantDecl", + "name": "RXB_LB", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f975c0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29751, + "line": 979, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29792, + "line": 980, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51f97510", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29755, + "line": 979, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29760, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f974f8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29757, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29757, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f974d8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29757, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29757, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f961b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29755, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29755, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f974c0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29760, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 29760, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f961d0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29760, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 29760, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char[8]" + }, + "valueCategory": "lvalue", + "value": "\"vcmp_rr\"" + } + ] + } + ] + }, + { + "id": "0x558a51f975b0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29779, + "line": 980, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29792, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51f97580", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29786, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29792, + "col": 22, + "tokLen": 7 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152bdd0", + "kind": "EnumConstantDecl", + "name": "VCMP_RR", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f989f0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29805, + "line": 981, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29842, + "line": 982, + "col": 22, + "tokLen": 3 + } + }, + "inner": [ + { + "id": "0x558a51f98940", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29809, + "line": 981, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29814, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f98928", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29811, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29811, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f98908", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29811, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29811, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f975e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29809, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29809, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f988f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29814, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 29814, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f97600", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29814, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 29814, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char[4]" + }, + "valueCategory": "lvalue", + "value": "\"vcp\"" + } + ] + } + ] + }, + { + "id": "0x558a51f989e0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29829, + "line": 982, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29842, + "col": 22, + "tokLen": 3 + } + }, + "inner": [ + { + "id": "0x558a51f989b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29836, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29842, + "col": 22, + "tokLen": 3 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152be28", + "kind": "EnumConstantDecl", + "name": "VCP", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f99e20", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29851, + "line": 983, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29888, + "line": 984, + "col": 22, + "tokLen": 3 + } + }, + "inner": [ + { + "id": "0x558a51f99d70", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29855, + "line": 983, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29860, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f99d58", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29857, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29857, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f99d38", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29857, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29857, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f98a10", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29855, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29855, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f99d20", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29860, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 29860, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f98a30", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29860, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 29860, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char[4]" + }, + "valueCategory": "lvalue", + "value": "\"vcn\"" + } + ] + } + ] + }, + { + "id": "0x558a51f99e10", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29875, + "line": 984, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29888, + "col": 22, + "tokLen": 3 + } + }, + "inner": [ + { + "id": "0x558a51f99de0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29882, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29888, + "col": 22, + "tokLen": 3 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152be80", + "kind": "EnumConstantDecl", + "name": "VCN", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f9b250", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29897, + "line": 985, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29939, + "line": 986, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f9b1a0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29901, + "line": 985, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29906, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f9b188", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29903, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29903, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f9b168", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29903, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29903, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f99e40", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29901, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29901, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f9b150", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29906, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 29906, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f99e60", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29906, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 29906, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"vishaper\"" + } + ] + } + ] + }, + { + "id": "0x558a51f9b240", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29926, + "line": 986, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29939, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51f9b210", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29933, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29939, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152bed8", + "kind": "EnumConstantDecl", + "name": "VISHAPER", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f9c680", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 29953, + "line": 987, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 29997, + "line": 988, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f9c5d0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 29957, + "line": 987, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29962, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f9c5b8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29959, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29959, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f9c598", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29959, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 29959, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f9b270", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29957, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 29957, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f9c580", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 29962, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 29962, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f9b290", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 29962, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 29962, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char[11]" + }, + "valueCategory": "lvalue", + "value": "\"vthreshold\"" + } + ] + } + ] + }, + { + "id": "0x558a51f9c670", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 29984, + "line": 988, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 29997, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51f9c640", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 29991, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 29997, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152bf30", + "kind": "EnumConstantDecl", + "name": "VTHRESHOLD", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f9dab0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30013, + "line": 989, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30054, + "line": 990, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51f9da00", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30017, + "line": 989, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30022, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f9d9e8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30019, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30019, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f9d9c8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30019, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30019, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f9c6a0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30017, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30017, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f9d9b0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30022, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 30022, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f9c6c0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30022, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 30022, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char[8]" + }, + "valueCategory": "lvalue", + "value": "\"vref_ds\"" + } + ] + } + ] + }, + { + "id": "0x558a51f9daa0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30041, + "line": 990, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30054, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51f9da70", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30048, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30054, + "col": 22, + "tokLen": 7 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152bfe0", + "kind": "EnumConstantDecl", + "name": "VREF_DS", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51f9eee0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30067, + "line": 991, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30108, + "line": 992, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51f9ee30", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30071, + "line": 991, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30076, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51f9ee18", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30073, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30073, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51f9edf8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30073, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30073, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f9dad0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30071, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30071, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51f9ede0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30076, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 30076, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f9daf0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30076, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 30076, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char[8]" + }, + "valueCategory": "lvalue", + "value": "\"vout_cm\"" + } + ] + } + ] + }, + { + "id": "0x558a51f9eed0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30095, + "line": 992, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30108, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51f9eea0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30102, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30108, + "col": 22, + "tokLen": 7 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c038", + "kind": "EnumConstantDecl", + "name": "VOUT_CM", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fa0310", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30121, + "line": 993, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30161, + "line": 994, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51fa0260", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30125, + "line": 993, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30130, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fa0248", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30127, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30127, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fa0228", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30127, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30127, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51f9ef00", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30125, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30125, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fa0210", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30130, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 30130, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51f9ef20", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30130, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 30130, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"vin_cm\"" + } + ] + } + ] + }, + { + "id": "0x558a51fa0300", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30148, + "line": 994, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30161, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51fa02d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30155, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30161, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c090", + "kind": "EnumConstantDecl", + "name": "VIN_CM", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fa1740", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30173, + "line": 995, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30216, + "line": 996, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fa1690", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30177, + "line": 995, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30182, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fa1678", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30179, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30179, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fa1658", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30179, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30179, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fa0330", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30177, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30177, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fa1640", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30182, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 30182, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fa0350", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30182, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 30182, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"vref_comp\"" + } + ] + } + ] + }, + { + "id": "0x558a51fa1730", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30203, + "line": 996, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30216, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fa1700", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30210, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30216, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c0e8", + "kind": "EnumConstantDecl", + "name": "VREF_COMP", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fa2b70", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30231, + "line": 997, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30272, + "line": 998, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51fa2ac0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30235, + "line": 997, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30240, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fa2aa8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30237, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30237, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fa2a88", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30237, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30237, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fa1760", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30235, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30235, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fa2a70", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30240, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 30240, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fa1780", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30240, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 30240, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char[8]" + }, + "valueCategory": "lvalue", + "value": "\"vb_comp\"" + } + ] + } + ] + }, + { + "id": "0x558a51fa2b60", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30259, + "line": 998, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30272, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51fa2b30", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30266, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30272, + "col": 22, + "tokLen": 7 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c140", + "kind": "EnumConstantDecl", + "name": "VB_COMP", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fa3fa0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30285, + "line": 999, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30327, + "line": 1000, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51fa3ef0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30289, + "line": 999, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30294, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fa3ed8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30291, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30291, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fa3eb8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30291, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30291, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fa2b90", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30289, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30289, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fa3ea0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30294, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 30294, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fa2bb0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30294, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 30294, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"vdd_prot\"" + } + ] + } + ] + }, + { + "id": "0x558a51fa3f90", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30314, + "line": 1000, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30327, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51fa3f60", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30321, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30327, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c198", + "kind": "EnumConstantDecl", + "name": "VDD_PROT", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fa53d0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30341, + "line": 1001, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30382, + "line": 1002, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51fa5320", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30345, + "line": 1001, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30350, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fa5308", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30347, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30347, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fa52e8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30347, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30347, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fa3fc0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30345, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30345, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fa52d0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30350, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 30350, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fa3fe0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30350, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 30350, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char[8]" + }, + "valueCategory": "lvalue", + "value": "\"vin_com\"" + } + ] + } + ] + }, + { + "id": "0x558a51fa53c0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30369, + "line": 1002, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30382, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a51fa5390", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30376, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30382, + "col": 22, + "tokLen": 7 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c1f0", + "kind": "EnumConstantDecl", + "name": "VIN_COM", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fa6820", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30395, + "line": 1003, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30439, + "line": 1004, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51fa6770", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30399, + "line": 1003, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30404, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fa6758", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30401, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30401, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fa6738", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30401, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30401, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fa53f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30399, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30399, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fa6720", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30404, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 30404, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fa5410", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30404, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 30404, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char[11]" + }, + "valueCategory": "lvalue", + "value": "\"vref_prech\"" + } + ] + } + ] + }, + { + "id": "0x558a51fa6810", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30426, + "line": 1004, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30439, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51fa67e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30433, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30439, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c248", + "kind": "EnumConstantDecl", + "name": "VREF_PRECH", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fa7c50", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30455, + "line": 1005, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30498, + "line": 1006, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fa7ba0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30459, + "line": 1005, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30464, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fa7b88", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30461, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30461, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fa7b68", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30461, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30461, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fa6840", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30459, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30459, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fa7b50", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30464, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 30464, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fa6860", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30464, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 30464, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"vb_pixbuf\"" + } + ] + } + ] + }, + { + "id": "0x558a51fa7c40", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30485, + "line": 1006, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30498, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fa7c10", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30492, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30498, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c2a0", + "kind": "EnumConstantDecl", + "name": "VB_PIXBUF", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fa9080", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30513, + "line": 1007, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30552, + "line": 1008, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51fa8fd0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30517, + "line": 1007, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30522, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fa8fb8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30519, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30519, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fa8f98", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30519, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30519, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fa7c70", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30517, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30517, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fa8f80", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30522, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 30522, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fa7c90", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30522, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 30522, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"vb_ds\"" + } + ] + } + ] + }, + { + "id": "0x558a51fa9070", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30539, + "line": 1008, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30552, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51fa9040", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30546, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30552, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c2f8", + "kind": "EnumConstantDecl", + "name": "VB_DS", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51faa4b0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30563, + "line": 1009, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30607, + "line": 1010, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51faa400", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30567, + "line": 1009, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30572, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51faa3e8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30569, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30569, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51faa3c8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30569, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30569, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fa90a0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30567, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30567, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51faa3b0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30572, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 30572, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fa90c0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30572, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 30572, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char[11]" + }, + "valueCategory": "lvalue", + "value": "\"vref_h_adc\"" + } + ] + } + ] + }, + { + "id": "0x558a51faa4a0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30594, + "line": 1010, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30607, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51faa470", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30601, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30607, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c350", + "kind": "EnumConstantDecl", + "name": "VREF_H_ADC", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fab8e0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30623, + "line": 1011, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30667, + "line": 1012, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51fab830", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30627, + "line": 1011, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30632, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fab818", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30629, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30629, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fab7f8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30629, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30629, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51faa4d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30627, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30627, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fab7e0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30632, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 30632, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51faa4f0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30632, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 30632, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char[11]" + }, + "valueCategory": "lvalue", + "value": "\"vb_comp_fe\"" + } + ] + } + ] + }, + { + "id": "0x558a51fab8d0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30654, + "line": 1012, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30667, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51fab8a0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30661, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30667, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c3a8", + "kind": "EnumConstantDecl", + "name": "VB_COMP_FE", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51facd10", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30683, + "line": 1013, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30728, + "line": 1014, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51facc60", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30687, + "line": 1013, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30692, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51facc48", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30689, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30689, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51facc28", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30689, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30689, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fab900", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30687, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30687, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51facc10", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30692, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 30692, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fab920", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30692, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 30692, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char[12]" + }, + "valueCategory": "lvalue", + "value": "\"vb_comp_adc\"" + } + ] + } + ] + }, + { + "id": "0x558a51facd00", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30715, + "line": 1014, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30728, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51faccd0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30722, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30728, + "col": 22, + "tokLen": 11 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c400", + "kind": "EnumConstantDecl", + "name": "VB_COMP_ADC", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fae140", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30745, + "line": 1015, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30787, + "line": 1016, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51fae090", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30749, + "line": 1015, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30754, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fae078", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30751, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30751, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fae058", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30751, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30751, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51facd30", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30749, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30749, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fae040", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30754, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 30754, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51facd50", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30754, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 30754, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"vcom_cds\"" + } + ] + } + ] + }, + { + "id": "0x558a51fae130", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30774, + "line": 1016, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30787, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51fae100", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30781, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30787, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c458", + "kind": "EnumConstantDecl", + "name": "VCOM_CDS", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51faf570", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30801, + "line": 1017, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30846, + "line": 1018, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51faf4c0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30805, + "line": 1017, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30810, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51faf4a8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30807, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30807, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51faf488", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30807, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30807, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fae160", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30805, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30805, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51faf470", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30810, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 30810, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fae180", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30810, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 30810, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char[12]" + }, + "valueCategory": "lvalue", + "value": "\"vref_rstore\"" + } + ] + } + ] + }, + { + "id": "0x558a51faf560", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30833, + "line": 1018, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30846, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51faf530", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30840, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30846, + "col": 22, + "tokLen": 11 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c4b0", + "kind": "EnumConstantDecl", + "name": "VREF_RSTORE", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fb09a0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30863, + "line": 1019, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30907, + "line": 1020, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51fb08f0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30867, + "line": 1019, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30872, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fb08d8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30869, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30869, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fb08b8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30869, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30869, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51faf590", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30867, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30867, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fb08a0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30872, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 30872, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51faf5b0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30872, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 30872, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char[11]" + }, + "valueCategory": "lvalue", + "value": "\"vb_opa_1st\"" + } + ] + } + ] + }, + { + "id": "0x558a51fb0990", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30894, + "line": 1020, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30907, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51fb0960", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30901, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30907, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c508", + "kind": "EnumConstantDecl", + "name": "VB_OPA_1ST", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fb1dd0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30923, + "line": 1021, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 30969, + "line": 1022, + "col": 22, + "tokLen": 12 + } + }, + "inner": [ + { + "id": "0x558a51fb1d20", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30927, + "line": 1021, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30932, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fb1d08", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30929, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30929, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fb1ce8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30929, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30929, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fb09c0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30927, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30927, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fb1cd0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30932, + "col": 14, + "tokLen": 14 + }, + "end": { + "offset": 30932, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fb09e0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30932, + "col": 14, + "tokLen": 14 + }, + "end": { + "offset": 30932, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "const char[13]" + }, + "valueCategory": "lvalue", + "value": "\"vref_comp_fe\"" + } + ] + } + ] + }, + { + "id": "0x558a51fb1dc0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 30956, + "line": 1022, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 30969, + "col": 22, + "tokLen": 12 + } + }, + "inner": [ + { + "id": "0x558a51fb1d90", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30963, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 30969, + "col": 22, + "tokLen": 12 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c560", + "kind": "EnumConstantDecl", + "name": "VREF_COMP_FE", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fb3200", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 30987, + "line": 1023, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31030, + "line": 1024, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fb3150", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 30991, + "line": 1023, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30996, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fb3138", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30993, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30993, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fb3118", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30993, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 30993, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fb1df0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 30991, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 30991, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fb3100", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 30996, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 30996, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fb1e10", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 30996, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 30996, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"vcom_adc1\"" + } + ] + } + ] + }, + { + "id": "0x558a51fb31f0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31017, + "line": 1024, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31030, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fb31c0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31024, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31030, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c5b8", + "kind": "EnumConstantDecl", + "name": "VCOM_ADC1", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fb4630", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31045, + "line": 1025, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31089, + "line": 1026, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51fb4580", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31049, + "line": 1025, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31054, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fb4568", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31051, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31051, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fb4548", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31051, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31051, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fb3220", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31049, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31049, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fb4530", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31054, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 31054, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fb3240", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31054, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 31054, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char[11]" + }, + "valueCategory": "lvalue", + "value": "\"vref_l_adc\"" + } + ] + } + ] + }, + { + "id": "0x558a51fb4620", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31076, + "line": 1026, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31089, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51fb45f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31083, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31089, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c610", + "kind": "EnumConstantDecl", + "name": "VREF_L_ADC", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fb5a60", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31105, + "line": 1027, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31147, + "line": 1028, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51fb59b0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31109, + "line": 1027, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31114, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fb5998", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31111, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31111, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fb5978", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31111, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31111, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fb4650", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31109, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31109, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fb5960", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31114, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 31114, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fb4670", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31114, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 31114, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"vref_cds\"" + } + ] + } + ] + }, + { + "id": "0x558a51fb5a50", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31134, + "line": 1028, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31147, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51fb5a20", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31141, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31147, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c668", + "kind": "EnumConstantDecl", + "name": "VREF_CDS", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fb6e90", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31161, + "line": 1029, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31200, + "line": 1030, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51fb6de0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31165, + "line": 1029, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31170, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fb6dc8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31167, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31167, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fb6da8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31167, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31167, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fb5a80", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31165, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31165, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fb6d90", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31170, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 31170, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fb5aa0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31170, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 31170, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"vb_cs\"" + } + ] + } + ] + }, + { + "id": "0x558a51fb6e80", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31187, + "line": 1030, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31200, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51fb6e50", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31194, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31200, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c6c0", + "kind": "EnumConstantDecl", + "name": "VB_CS", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fb82c0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31211, + "line": 1031, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31254, + "line": 1032, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fb8210", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31215, + "line": 1031, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31220, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fb81f8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31217, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31217, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fb81d8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31217, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31217, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fb6eb0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31215, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31215, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fb81c0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31220, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 31220, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fb6ed0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31220, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 31220, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"vb_opa_fd\"" + } + ] + } + ] + }, + { + "id": "0x558a51fb82b0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31241, + "line": 1032, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31254, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fb8280", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31248, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31254, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c718", + "kind": "EnumConstantDecl", + "name": "VB_OPA_FD", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fb96f0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31269, + "line": 1033, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31312, + "line": 1034, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fb9640", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31273, + "line": 1033, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31278, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fb9628", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31275, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31275, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fb9608", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31275, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31275, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fb82e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31273, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31273, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fb95f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31278, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 31278, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fb8300", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31278, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 31278, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"vcom_adc2\"" + } + ] + } + ] + }, + { + "id": "0x558a51fb96e0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31299, + "line": 1034, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31312, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fb96b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31306, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31312, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c770", + "kind": "EnumConstantDecl", + "name": "VCOM_ADC2", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fbab20", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31327, + "line": 1035, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31367, + "line": 1036, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51fbaa70", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31331, + "line": 1035, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31336, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fbaa58", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31333, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31333, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fbaa38", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31333, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31333, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fb9710", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31331, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31331, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fbaa20", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31336, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 31336, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fb9730", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31336, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 31336, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"vcassh\"" + } + ] + } + ] + }, + { + "id": "0x558a51fbab10", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31354, + "line": 1036, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31367, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51fbaae0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31361, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31367, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c7c8", + "kind": "EnumConstantDecl", + "name": "VCASSH", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fbbf50", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31379, + "line": 1037, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31417, + "line": 1038, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51fbbea0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31383, + "line": 1037, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31388, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fbbe88", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31385, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31385, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fbbe68", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31385, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31385, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fbab40", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31383, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31383, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fbbe50", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31388, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 31388, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fbab60", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31388, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 31388, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char[5]" + }, + "valueCategory": "lvalue", + "value": "\"vth2\"" + } + ] + } + ] + }, + { + "id": "0x558a51fbbf40", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31404, + "line": 1038, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31417, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51fbbf10", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31411, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31417, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c820", + "kind": "EnumConstantDecl", + "name": "VTH2", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fbd380", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31427, + "line": 1039, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31471, + "line": 1040, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51fbd2d0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31431, + "line": 1039, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31436, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fbd2b8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31433, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31433, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fbd298", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31433, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31433, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fbbf70", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31431, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31431, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fbd280", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31436, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 31436, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fbbf90", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31436, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 31436, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char[11]" + }, + "valueCategory": "lvalue", + "value": "\"vrshaper_n\"" + } + ] + } + ] + }, + { + "id": "0x558a51fbd370", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31458, + "line": 1040, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31471, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51fbd340", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31465, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31471, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c878", + "kind": "EnumConstantDecl", + "name": "VRSHAPER_N", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fbe7b0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31487, + "line": 1041, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31530, + "line": 1042, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fbe700", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31491, + "line": 1041, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31496, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fbe6e8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31493, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31493, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fbe6c8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31493, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31493, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fbd3a0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31491, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31491, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fbe6b0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31496, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 31496, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fbd3c0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31496, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 31496, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"vipre_out\"" + } + ] + } + ] + }, + { + "id": "0x558a51fbe7a0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31517, + "line": 1042, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31530, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fbe770", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31524, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31530, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c8d0", + "kind": "EnumConstantDecl", + "name": "VIPRE_OUT", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fbfbe0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31545, + "line": 1043, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31583, + "line": 1044, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51fbfb30", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31549, + "line": 1043, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31554, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fbfb18", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31551, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31551, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fbfaf8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31551, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31551, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fbe7d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31549, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31549, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fbfae0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31554, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 31554, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fbe7f0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31554, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 31554, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char[5]" + }, + "valueCategory": "lvalue", + "value": "\"vth3\"" + } + ] + } + ] + }, + { + "id": "0x558a51fbfbd0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31570, + "line": 1044, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31583, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51fbfba0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31577, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31583, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c928", + "kind": "EnumConstantDecl", + "name": "VTH3", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fc1010", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31593, + "line": 1045, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31631, + "line": 1046, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51fc0f60", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31597, + "line": 1045, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31602, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fc0f48", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31599, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31599, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fc0f28", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31599, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31599, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fbfc00", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31597, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31597, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fc0f10", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31602, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 31602, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fbfc20", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31602, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 31602, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char[5]" + }, + "valueCategory": "lvalue", + "value": "\"vth1\"" + } + ] + } + ] + }, + { + "id": "0x558a51fc1000", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31618, + "line": 1046, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31631, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51fc0fd0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31625, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31631, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c980", + "kind": "EnumConstantDecl", + "name": "VTH1", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fc2440", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31641, + "line": 1047, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31680, + "line": 1048, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51fc2390", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31645, + "line": 1047, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31650, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fc2378", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31647, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31647, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fc2358", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31647, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31647, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fc1030", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31645, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31645, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fc2340", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31650, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 31650, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fc1050", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31650, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 31650, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"vicin\"" + } + ] + } + ] + }, + { + "id": "0x558a51fc2430", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31667, + "line": 1048, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31680, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51fc2400", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31674, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31680, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152c9d8", + "kind": "EnumConstantDecl", + "name": "VICIN", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fc3870", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31691, + "line": 1049, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31729, + "line": 1050, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51fc37c0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31695, + "line": 1049, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31700, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fc37a8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31697, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31697, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fc3788", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31697, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31697, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fc2460", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31695, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31695, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fc3770", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31700, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 31700, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fc2480", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31700, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 31700, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char[5]" + }, + "valueCategory": "lvalue", + "value": "\"vcas\"" + } + ] + } + ] + }, + { + "id": "0x558a51fc3860", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31716, + "line": 1050, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31729, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51fc3830", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31723, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31729, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152ca30", + "kind": "EnumConstantDecl", + "name": "VCAS", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fc4ca0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31739, + "line": 1051, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31779, + "line": 1052, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51fc4bf0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31743, + "line": 1051, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31748, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fc4bd8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31745, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31745, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fc4bb8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31745, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31745, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fc3890", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31743, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31743, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fc4ba0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31748, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 31748, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fc38b0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31748, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 31748, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"vcal_n\"" + } + ] + } + ] + }, + { + "id": "0x558a51fc4c90", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31766, + "line": 1052, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31779, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51fc4c60", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31773, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31779, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152ca88", + "kind": "EnumConstantDecl", + "name": "VCAL_N", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fc60d0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31791, + "line": 1053, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31830, + "line": 1054, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51fc6020", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31795, + "line": 1053, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31800, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fc6008", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31797, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31797, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fc5fe8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31797, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31797, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fc4cc0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31795, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31795, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fc5fd0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31800, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 31800, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fc4ce0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31800, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 31800, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"vipre\"" + } + ] + } + ] + }, + { + "id": "0x558a51fc60c0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31817, + "line": 1054, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31830, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51fc6090", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31824, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31830, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152cae0", + "kind": "EnumConstantDecl", + "name": "VIPRE", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fc7530", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31841, + "line": 1055, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31881, + "line": 1056, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51fc7480", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31845, + "line": 1055, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31850, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fc7468", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31847, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31847, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fc7448", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31847, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31847, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fc60f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31845, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31845, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fc7430", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31850, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 31850, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fc6110", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31850, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 31850, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"vcal_p\"" + } + ] + } + ] + }, + { + "id": "0x558a51fc7520", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31868, + "line": 1056, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31881, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51fc74f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31875, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31881, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152cb38", + "kind": "EnumConstantDecl", + "name": "VCAL_P", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fc8960", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31893, + "line": 1057, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31932, + "line": 1058, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51fc88b0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31897, + "line": 1057, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31902, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fc8898", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31899, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31899, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fc8878", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31899, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31899, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fc7550", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31897, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31897, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fc8860", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31902, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 31902, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fc7570", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31902, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 31902, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"vdcsh\"" + } + ] + } + ] + }, + { + "id": "0x558a51fc8950", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31919, + "line": 1058, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31932, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51fc8920", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31926, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31932, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152cb90", + "kind": "EnumConstantDecl", + "name": "VDCSH", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fc9d90", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 31943, + "line": 1059, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 31987, + "line": 1060, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51fc9ce0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 31947, + "line": 1059, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31952, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fc9cc8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31949, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31949, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fc9ca8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31949, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 31949, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fc8980", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31947, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 31947, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fc9c90", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 31952, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 31952, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fc89a0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 31952, + "col": 14, + "tokLen": 12 + }, + "end": { + "offset": 31952, + "col": 14, + "tokLen": 12 + } + }, + "type": { + "qualType": "const char[11]" + }, + "valueCategory": "lvalue", + "value": "\"vbp_colbuf\"" + } + ] + } + ] + }, + { + "id": "0x558a51fc9d80", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 31974, + "line": 1060, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 31987, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51fc9d50", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 31981, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 31987, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152cbe8", + "kind": "EnumConstantDecl", + "name": "VBP_COLBUF", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fcb1c0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 32003, + "line": 1061, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 32043, + "line": 1062, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51fcb110", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 32007, + "line": 1061, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32012, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fcb0f8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32009, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32009, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fcb0d8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32009, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32009, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fc9db0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32007, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32007, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fcb0c0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32012, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 32012, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fc9dd0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 32012, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 32012, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"vb_sda\"" + } + ] + } + ] + }, + { + "id": "0x558a51fcb1b0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 32030, + "line": 1062, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 32043, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51fcb180", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32037, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 32043, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152cc40", + "kind": "EnumConstantDecl", + "name": "VB_SDA", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fcc5f0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 32055, + "line": 1063, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 32098, + "line": 1064, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fcc540", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 32059, + "line": 1063, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32064, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fcc528", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32061, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32061, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fcc508", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32061, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32061, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fcb1e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32059, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32059, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fcc4f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32064, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 32064, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fcb200", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 32064, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 32064, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"vcasc_sfp\"" + } + ] + } + ] + }, + { + "id": "0x558a51fcc5e0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 32085, + "line": 1064, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 32098, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fcc5b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32092, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 32098, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152cc98", + "kind": "EnumConstantDecl", + "name": "VCASC_SFP", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fcda20", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 32113, + "line": 1065, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 32156, + "line": 1066, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fcd970", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 32117, + "line": 1065, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32122, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fcd958", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32119, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32119, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fcd938", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32119, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32119, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fcc610", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32117, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32117, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fcd920", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32122, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 32122, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fcc630", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 32122, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 32122, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"vipre_cds\"" + } + ] + } + ] + }, + { + "id": "0x558a51fcda10", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 32143, + "line": 1066, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 32156, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fcd9e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32150, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 32156, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152ccf0", + "kind": "EnumConstantDecl", + "name": "VIPRE_CDS", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fcee50", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 32171, + "line": 1067, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 32214, + "line": 1068, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fceda0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 32175, + "line": 1067, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32180, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fced88", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32177, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32177, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fced68", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32177, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32177, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fcda40", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32175, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32175, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fced50", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32180, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 32180, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fcda60", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 32180, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 32180, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"ibias_sfp\"" + } + ] + } + ] + }, + { + "id": "0x558a51fcee40", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 32201, + "line": 1068, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 32214, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fcee10", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32208, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 32214, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152cd48", + "kind": "EnumConstantDecl", + "name": "IBIAS_SFP", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fd0280", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 32229, + "line": 1069, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 32271, + "line": 1070, + "col": 22, + "tokLen": 12 + } + }, + "inner": [ + { + "id": "0x558a51fd01d0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 32233, + "line": 1069, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32238, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fd01b8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32235, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32235, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fd0198", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32235, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32235, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fcee70", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32233, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32233, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fd0180", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32238, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 32238, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fcee90", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 32238, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 32238, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"trimbits\"" + } + ] + } + ] + }, + { + "id": "0x558a51fd0270", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 32258, + "line": 1070, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 32271, + "col": 22, + "tokLen": 12 + } + }, + "inner": [ + { + "id": "0x558a51fd0240", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32265, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 32271, + "col": 22, + "tokLen": 12 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152d168", + "kind": "EnumConstantDecl", + "name": "TRIMBIT_SCAN", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fd16b0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 32289, + "line": 1071, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 32334, + "line": 1072, + "col": 22, + "tokLen": 12 + } + }, + "inner": [ + { + "id": "0x558a51fd1600", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 32293, + "line": 1071, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32298, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fd15e8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32295, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32295, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fd15c8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32295, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32295, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fd02a0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32293, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32293, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fd15b0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32298, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 32298, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fd02c0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 32298, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 32298, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char[12]" + }, + "valueCategory": "lvalue", + "value": "\"highvoltage\"" + } + ] + } + ] + }, + { + "id": "0x558a51fd16a0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 32321, + "line": 1072, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 32334, + "col": 22, + "tokLen": 12 + } + }, + "inner": [ + { + "id": "0x558a51fd1670", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32328, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 32334, + "col": 22, + "tokLen": 12 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152cdf8", + "kind": "EnumConstantDecl", + "name": "HIGH_VOLTAGE", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fd2ae0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 32352, + "line": 1073, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 32393, + "line": 1074, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51fd2a30", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 32356, + "line": 1073, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32361, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fd2a18", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32358, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32358, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fd29f8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32358, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32358, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fd16d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32356, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32356, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fd29e0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32361, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 32361, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fd16f0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 32361, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 32361, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char[8]" + }, + "valueCategory": "lvalue", + "value": "\"iodelay\"" + } + ] + } + ] + }, + { + "id": "0x558a51fd2ad0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 32380, + "line": 1074, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 32393, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51fd2aa0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32387, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 32393, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152bf88", + "kind": "EnumConstantDecl", + "name": "IO_DELAY", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fd3f10", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 32407, + "line": 1075, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 32449, + "line": 1076, + "col": 22, + "tokLen": 15 + } + }, + "inner": [ + { + "id": "0x558a51fd3e60", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 32411, + "line": 1075, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32416, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fd3e48", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32413, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32413, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fd3e28", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32413, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32413, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fd2b00", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32411, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32411, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fd3e10", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32416, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 32416, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fd2b20", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 32416, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 32416, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"temp_adc\"" + } + ] + } + ] + }, + { + "id": "0x558a51fd3f00", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 32436, + "line": 1076, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 32449, + "col": 22, + "tokLen": 15 + } + }, + "inner": [ + { + "id": "0x558a51fd3ed0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32443, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 32449, + "col": 22, + "tokLen": 15 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152ce50", + "kind": "EnumConstantDecl", + "name": "TEMPERATURE_ADC", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fd5340", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 32470, + "line": 1077, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 32513, + "line": 1078, + "col": 22, + "tokLen": 16 + } + }, + "inner": [ + { + "id": "0x558a51fd5290", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 32474, + "line": 1077, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32479, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fd5278", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32476, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32476, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fd5258", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32476, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32476, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fd3f30", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32474, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32474, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fd5240", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32479, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 32479, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fd3f50", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 32479, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 32479, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"temp_fpga\"" + } + ] + } + ] + }, + { + "id": "0x558a51fd5330", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 32500, + "line": 1078, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 32513, + "col": 22, + "tokLen": 16 + } + }, + "inner": [ + { + "id": "0x558a51fd5300", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32507, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 32513, + "col": 22, + "tokLen": 16 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152cea8", + "kind": "EnumConstantDecl", + "name": "TEMPERATURE_FPGA", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fd6770", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 32535, + "line": 1079, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 32581, + "line": 1080, + "col": 22, + "tokLen": 19 + } + }, + "inner": [ + { + "id": "0x558a51fd66c0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 32539, + "line": 1079, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32544, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fd66a8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32541, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32541, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fd6688", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32541, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32541, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fd5360", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32539, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32539, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fd6670", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32544, + "col": 14, + "tokLen": 14 + }, + "end": { + "offset": 32544, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fd5380", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 32544, + "col": 14, + "tokLen": 14 + }, + "end": { + "offset": 32544, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "const char[13]" + }, + "valueCategory": "lvalue", + "value": "\"temp_fpgaext\"" + } + ] + } + ] + }, + { + "id": "0x558a51fd6760", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 32568, + "line": 1080, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 32581, + "col": 22, + "tokLen": 19 + } + }, + "inner": [ + { + "id": "0x558a51fd6730", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32575, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 32581, + "col": 22, + "tokLen": 19 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152cf00", + "kind": "EnumConstantDecl", + "name": "TEMPERATURE_FPGAEXT", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fd7ba0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 32606, + "line": 1081, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 32649, + "line": 1082, + "col": 22, + "tokLen": 16 + } + }, + "inner": [ + { + "id": "0x558a51fd7af0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 32610, + "line": 1081, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32615, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fd7ad8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32612, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32612, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fd7ab8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32612, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32612, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fd6790", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32610, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32610, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fd7aa0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32615, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 32615, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fd67b0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 32615, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 32615, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"temp_10ge\"" + } + ] + } + ] + }, + { + "id": "0x558a51fd7b90", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 32636, + "line": 1082, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 32649, + "col": 22, + "tokLen": 16 + } + }, + "inner": [ + { + "id": "0x558a51fd7b60", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32643, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 32649, + "col": 22, + "tokLen": 16 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152cf58", + "kind": "EnumConstantDecl", + "name": "TEMPERATURE_10GE", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fd8fd0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 32671, + "line": 1083, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 32714, + "line": 1084, + "col": 22, + "tokLen": 16 + } + }, + "inner": [ + { + "id": "0x558a51fd8f20", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 32675, + "line": 1083, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32680, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fd8f08", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32677, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32677, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fd8ee8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32677, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32677, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fd7bc0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32675, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32675, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fd8ed0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32680, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 32680, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fd7be0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 32680, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 32680, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"temp_dcdc\"" + } + ] + } + ] + }, + { + "id": "0x558a51fd8fc0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 32701, + "line": 1084, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 32714, + "col": 22, + "tokLen": 16 + } + }, + "inner": [ + { + "id": "0x558a51fd8f90", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32708, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 32714, + "col": 22, + "tokLen": 16 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152cfb0", + "kind": "EnumConstantDecl", + "name": "TEMPERATURE_DCDC", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fda400", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 32736, + "line": 1085, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 32779, + "line": 1086, + "col": 22, + "tokLen": 16 + } + }, + "inner": [ + { + "id": "0x558a51fda350", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 32740, + "line": 1085, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32745, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fda338", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32742, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32742, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fda318", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32742, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32742, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fd8ff0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32740, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32740, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fda300", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32745, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 32745, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fd9010", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 32745, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 32745, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"temp_sodl\"" + } + ] + } + ] + }, + { + "id": "0x558a51fda3f0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 32766, + "line": 1086, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 32779, + "col": 22, + "tokLen": 16 + } + }, + "inner": [ + { + "id": "0x558a51fda3c0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32773, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 32779, + "col": 22, + "tokLen": 16 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152d008", + "kind": "EnumConstantDecl", + "name": "TEMPERATURE_SODL", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fdb830", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 32801, + "line": 1087, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 32844, + "line": 1088, + "col": 22, + "tokLen": 16 + } + }, + "inner": [ + { + "id": "0x558a51fdb780", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 32805, + "line": 1087, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32810, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fdb768", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32807, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32807, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fdb748", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32807, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32807, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fda420", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32805, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32805, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fdb730", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32810, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 32810, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fda440", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 32810, + "col": 14, + "tokLen": 11 + }, + "end": { + "offset": 32810, + "col": 14, + "tokLen": 11 + } + }, + "type": { + "qualType": "const char[10]" + }, + "valueCategory": "lvalue", + "value": "\"temp_sodr\"" + } + ] + } + ] + }, + { + "id": "0x558a51fdb820", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 32831, + "line": 1088, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 32844, + "col": 22, + "tokLen": 16 + } + }, + "inner": [ + { + "id": "0x558a51fdb7f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32838, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 32844, + "col": 22, + "tokLen": 16 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152d060", + "kind": "EnumConstantDecl", + "name": "TEMPERATURE_SODR", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fdcc60", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 32866, + "line": 1089, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 32911, + "line": 1090, + "col": 22, + "tokLen": 17 + } + }, + "inner": [ + { + "id": "0x558a51fdcbb0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 32870, + "line": 1089, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32875, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fdcb98", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32872, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32872, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fdcb78", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32872, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32872, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fdb850", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32870, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32870, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fdcb60", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32875, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 32875, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fdb870", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 32875, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 32875, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char[12]" + }, + "valueCategory": "lvalue", + "value": "\"temp_fpgafl\"" + } + ] + } + ] + }, + { + "id": "0x558a51fdcc50", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 32898, + "line": 1090, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 32911, + "col": 22, + "tokLen": 17 + } + }, + "inner": [ + { + "id": "0x558a51fdcc20", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32905, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 32911, + "col": 22, + "tokLen": 17 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152d0b8", + "kind": "EnumConstantDecl", + "name": "TEMPERATURE_FPGA2", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fde090", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 32934, + "line": 1091, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 32979, + "line": 1092, + "col": 22, + "tokLen": 17 + } + }, + "inner": [ + { + "id": "0x558a51fddfe0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 32938, + "line": 1091, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32943, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fddfc8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32940, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32940, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fddfa8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32940, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 32940, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fdcc80", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32938, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 32938, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fddf90", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 32943, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 32943, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fdcca0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 32943, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 32943, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char[12]" + }, + "valueCategory": "lvalue", + "value": "\"temp_fpgafr\"" + } + ] + } + ] + }, + { + "id": "0x558a51fde080", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 32966, + "line": 1092, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 32979, + "col": 22, + "tokLen": 17 + } + }, + "inner": [ + { + "id": "0x558a51fde050", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 32973, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 32979, + "col": 22, + "tokLen": 17 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152d110", + "kind": "EnumConstantDecl", + "name": "TEMPERATURE_FPGA3", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fdf4c0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 33002, + "line": 1093, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 33048, + "line": 1094, + "col": 22, + "tokLen": 13 + } + }, + "inner": [ + { + "id": "0x558a51fdf410", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 33006, + "line": 1093, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33011, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fdf3f8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33008, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33008, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fdf3d8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33008, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33008, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fde0b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33006, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33006, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fdf3c0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33011, + "col": 14, + "tokLen": 14 + }, + "end": { + "offset": 33011, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fde0d0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 33011, + "col": 14, + "tokLen": 14 + }, + "end": { + "offset": 33011, + "col": 14, + "tokLen": 14 + } + }, + "type": { + "qualType": "const char[13]" + }, + "valueCategory": "lvalue", + "value": "\"temp_slowadc\"" + } + ] + } + ] + }, + { + "id": "0x558a51fdf4b0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 33035, + "line": 1094, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 33048, + "col": 22, + "tokLen": 13 + } + }, + "inner": [ + { + "id": "0x558a51fdf480", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33042, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 33048, + "col": 22, + "tokLen": 13 + } + }, + "type": { + "qualType": "slsDetectorDefs::dacIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152d4c0", + "kind": "EnumConstantDecl", + "name": "SLOW_ADC_TEMP", + "type": { + "qualType": "slsDetectorDefs::dacIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fdfae8", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 33067, + "line": 1095, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 33110, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51fdfad0", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 33067, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 33110, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51fdfaa8", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 33073, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 33110, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a51fdfa88", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 33073, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 33110, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51fdfa80", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51fdfa50", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 33073, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 33110, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51fdfa38", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 33086, + "col": 24, + "tokLen": 20 + }, + "end": { + "offset": 33109, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a51fdfa20", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33086, + "col": 24, + "tokLen": 20 + }, + "end": { + "offset": 33109, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51fdfa00", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 33086, + "col": 24, + "tokLen": 20 + }, + "end": { + "offset": 33109, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a51fdf9f8", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51fdf9c0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 33086, + "col": 24, + "tokLen": 20 + }, + "end": { + "offset": 33109, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fdf9a8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33107, + "col": 45, + "tokLen": 1 + }, + "end": { + "offset": 33107, + "col": 45, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fdf988", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33107, + "col": 45, + "tokLen": 1 + }, + "end": { + "offset": 33107, + "col": 45, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a51fdf970", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33086, + "col": 24, + "tokLen": 20 + }, + "end": { + "offset": 33086, + "col": 24, + "tokLen": 20 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fdf4f0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 33086, + "col": 24, + "tokLen": 20 + }, + "end": { + "offset": 33086, + "col": 24, + "tokLen": 20 + } + }, + "type": { + "qualType": "const char[19]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown dac Index \"" + } + ] + }, + { + "id": "0x558a51fdf520", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33109, + "col": 47, + "tokLen": 1 + }, + "end": { + "offset": 33109, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51f59ea0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +}, +{ + "id": "0x558a51fdff60", + "kind": "FunctionDecl", + "loc": { + "offset": 33145, + "file": "ToString.cpp", + "line": 1098, + "col": 30, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 33116, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 33550, + "line": 1112, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bbccb0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs10powerIndexEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::powerIndex (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::powerIndex" + }, + "inner": [ + { + "id": "0x558a5152d5d0", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::powerIndex" + }, + "decl": { + "id": "0x558a5152d530", + "kind": "EnumDecl", + "name": "powerIndex" + } + } + ] + }, + { + "id": "0x558a51fdfe88", + "kind": "ParmVarDecl", + "loc": { + "offset": 33173, + "line": 1098, + "col": 58, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 33154, + "col": 39, + "tokLen": 5 + }, + "end": { + "offset": 33173, + "col": 58, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51fe8090", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 33176, + "col": 61, + "tokLen": 1 + }, + "end": { + "offset": 33550, + "line": 1112, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51fe1550", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 33182, + "line": 1099, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 33219, + "line": 1100, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fe14a0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 33186, + "line": 1099, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33191, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fe1488", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33188, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33188, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fe1468", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33188, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33188, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fe0148", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33186, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33186, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51fdfe88", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fe1450", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33191, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 33191, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fe0168", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 33191, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 33191, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char[4]" + }, + "valueCategory": "lvalue", + "value": "\"v_a\"" + } + ] + } + ] + }, + { + "id": "0x558a51fe1540", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 33206, + "line": 1100, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 33219, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fe1510", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33213, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 33219, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::powerIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152d5f0", + "kind": "EnumConstantDecl", + "name": "V_POWER_A", + "type": { + "qualType": "slsDetectorDefs::powerIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fe2980", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 33234, + "line": 1101, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 33271, + "line": 1102, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fe28d0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 33238, + "line": 1101, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33243, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fe28b8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33240, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33240, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fe2898", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33240, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33240, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fe1570", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33238, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33238, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51fdfe88", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fe2880", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33243, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 33243, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fe1590", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 33243, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 33243, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char[4]" + }, + "valueCategory": "lvalue", + "value": "\"v_b\"" + } + ] + } + ] + }, + { + "id": "0x558a51fe2970", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 33258, + "line": 1102, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 33271, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fe2940", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33265, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 33271, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::powerIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152d648", + "kind": "EnumConstantDecl", + "name": "V_POWER_B", + "type": { + "qualType": "slsDetectorDefs::powerIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fe3db0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 33286, + "line": 1103, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 33323, + "line": 1104, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fe3d00", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 33290, + "line": 1103, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33295, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fe3ce8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33292, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33292, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fe3cc8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33292, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33292, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fe29a0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33290, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33290, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51fdfe88", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fe3cb0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33295, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 33295, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fe29c0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 33295, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 33295, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char[4]" + }, + "valueCategory": "lvalue", + "value": "\"v_c\"" + } + ] + } + ] + }, + { + "id": "0x558a51fe3da0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 33310, + "line": 1104, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 33323, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fe3d70", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33317, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 33323, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::powerIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152d6a0", + "kind": "EnumConstantDecl", + "name": "V_POWER_C", + "type": { + "qualType": "slsDetectorDefs::powerIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fe51e0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 33338, + "line": 1105, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 33375, + "line": 1106, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fe5130", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 33342, + "line": 1105, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33347, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fe5118", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33344, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33344, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fe50f8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33344, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33344, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fe3dd0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33342, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33342, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51fdfe88", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fe50e0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33347, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 33347, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fe3df0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 33347, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 33347, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char[4]" + }, + "valueCategory": "lvalue", + "value": "\"v_d\"" + } + ] + } + ] + }, + { + "id": "0x558a51fe51d0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 33362, + "line": 1106, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 33375, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51fe51a0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33369, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 33375, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::powerIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152d6f8", + "kind": "EnumConstantDecl", + "name": "V_POWER_D", + "type": { + "qualType": "slsDetectorDefs::powerIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fe6620", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 33390, + "line": 1107, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 33428, + "line": 1108, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51fe6570", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 33394, + "line": 1107, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33399, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fe6558", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33396, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33396, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fe6538", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33396, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33396, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fe5200", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33394, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33394, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51fdfe88", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fe6520", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33399, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 33399, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fe5220", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 33399, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 33399, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char[5]" + }, + "valueCategory": "lvalue", + "value": "\"v_io\"" + } + ] + } + ] + }, + { + "id": "0x558a51fe6610", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 33415, + "line": 1108, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 33428, + "col": 22, + "tokLen": 10 + } + }, + "inner": [ + { + "id": "0x558a51fe65e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33422, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 33428, + "col": 22, + "tokLen": 10 + } + }, + "type": { + "qualType": "slsDetectorDefs::powerIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152d750", + "kind": "EnumConstantDecl", + "name": "V_POWER_IO", + "type": { + "qualType": "slsDetectorDefs::powerIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fe7a50", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 33444, + "line": 1109, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 33484, + "line": 1110, + "col": 22, + "tokLen": 12 + } + }, + "inner": [ + { + "id": "0x558a51fe79a0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 33448, + "line": 1109, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33453, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fe7988", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33450, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33450, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fe7968", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33450, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33450, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fe6640", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33448, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33448, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51fdfe88", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fe7950", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33453, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 33453, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fe6660", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 33453, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 33453, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"v_chip\"" + } + ] + } + ] + }, + { + "id": "0x558a51fe7a40", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 33471, + "line": 1110, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 33484, + "col": 22, + "tokLen": 12 + } + }, + "inner": [ + { + "id": "0x558a51fe7a10", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33478, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 33484, + "col": 22, + "tokLen": 12 + } + }, + "type": { + "qualType": "slsDetectorDefs::powerIndex" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152d7a8", + "kind": "EnumConstantDecl", + "name": "V_POWER_CHIP", + "type": { + "qualType": "slsDetectorDefs::powerIndex" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fe8078", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 33502, + "line": 1111, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 33547, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51fe8060", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 33502, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 33547, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51fe8038", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 33508, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 33547, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a51fe8018", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 33508, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 33547, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51fe8010", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51fe7fe0", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 33508, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 33547, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51fe7fc8", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 33521, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 33546, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a51fe7fb0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33521, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 33546, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51fe7f90", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 33521, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 33546, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a51fe7f88", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51fe7f50", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 33521, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 33546, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fe7f38", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33544, + "col": 47, + "tokLen": 1 + }, + "end": { + "offset": 33544, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fe7f18", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33544, + "col": 47, + "tokLen": 1 + }, + "end": { + "offset": 33544, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a51fe7f00", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33521, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 33521, + "col": 24, + "tokLen": 22 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fe7a80", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 33521, + "col": 24, + "tokLen": 22 + }, + "end": { + "offset": 33521, + "col": 24, + "tokLen": 22 + } + }, + "type": { + "qualType": "const char[21]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown power Index \"" + } + ] + }, + { + "id": "0x558a51fe7ab0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33546, + "col": 49, + "tokLen": 1 + }, + "end": { + "offset": 33546, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51fdfe88", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +}, +{ + "id": "0x558a51fe8260", + "kind": "FunctionDecl", + "loc": { + "offset": 33581, + "file": "ToString.cpp", + "line": 1114, + "col": 29, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 33553, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 33941, + "line": 1124, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bbd240", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs9burstModeEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::burstMode (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::burstMode" + }, + "inner": [ + { + "id": "0x558a5152eaf0", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::burstMode" + }, + "decl": { + "id": "0x558a5152ea48", + "kind": "EnumDecl", + "name": "burstMode" + } + } + ] + }, + { + "id": "0x558a51fe8188", + "kind": "ParmVarDecl", + "loc": { + "offset": 33609, + "line": 1114, + "col": 57, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 33590, + "col": 38, + "tokLen": 5 + }, + "end": { + "offset": 33609, + "col": 57, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51fedb30", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 33612, + "col": 60, + "tokLen": 1 + }, + "end": { + "offset": 33941, + "line": 1124, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51fe9860", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 33618, + "line": 1115, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 33666, + "line": 1116, + "col": 22, + "tokLen": 14 + } + }, + "inner": [ + { + "id": "0x558a51fe97b0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 33622, + "line": 1115, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33627, + "col": 14, + "tokLen": 16 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fe9798", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33624, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33624, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fe9778", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33624, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33624, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fe8448", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33622, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33622, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51fe8188", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fe9760", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33627, + "col": 14, + "tokLen": 16 + }, + "end": { + "offset": 33627, + "col": 14, + "tokLen": 16 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fe8468", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 33627, + "col": 14, + "tokLen": 16 + }, + "end": { + "offset": 33627, + "col": 14, + "tokLen": 16 + } + }, + "type": { + "qualType": "const char[15]" + }, + "valueCategory": "lvalue", + "value": "\"burst_internal\"" + } + ] + } + ] + }, + { + "id": "0x558a51fe9850", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 33653, + "line": 1116, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 33666, + "col": 22, + "tokLen": 14 + } + }, + "inner": [ + { + "id": "0x558a51fe9820", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33660, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 33666, + "col": 22, + "tokLen": 14 + } + }, + "type": { + "qualType": "slsDetectorDefs::burstMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152eb10", + "kind": "EnumConstantDecl", + "name": "BURST_INTERNAL", + "type": { + "qualType": "slsDetectorDefs::burstMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51feac90", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 33686, + "line": 1117, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 33734, + "line": 1118, + "col": 22, + "tokLen": 14 + } + }, + "inner": [ + { + "id": "0x558a51feabe0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 33690, + "line": 1117, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33695, + "col": 14, + "tokLen": 16 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51feabc8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33692, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33692, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51feaba8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33692, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33692, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fe9880", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33690, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33690, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51fe8188", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51feab90", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33695, + "col": 14, + "tokLen": 16 + }, + "end": { + "offset": 33695, + "col": 14, + "tokLen": 16 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fe98a0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 33695, + "col": 14, + "tokLen": 16 + }, + "end": { + "offset": 33695, + "col": 14, + "tokLen": 16 + } + }, + "type": { + "qualType": "const char[15]" + }, + "valueCategory": "lvalue", + "value": "\"burst_external\"" + } + ] + } + ] + }, + { + "id": "0x558a51feac80", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 33721, + "line": 1118, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 33734, + "col": 22, + "tokLen": 14 + } + }, + "inner": [ + { + "id": "0x558a51feac50", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33728, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 33734, + "col": 22, + "tokLen": 14 + } + }, + "type": { + "qualType": "slsDetectorDefs::burstMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152eb68", + "kind": "EnumConstantDecl", + "name": "BURST_EXTERNAL", + "type": { + "qualType": "slsDetectorDefs::burstMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fec0c0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 33754, + "line": 1119, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 33799, + "line": 1120, + "col": 22, + "tokLen": 19 + } + }, + "inner": [ + { + "id": "0x558a51fec010", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 33758, + "line": 1119, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33763, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51febff8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33760, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33760, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51febfd8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33760, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33760, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51feacb0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33758, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33758, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51fe8188", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51febfc0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33763, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 33763, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51feacd0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 33763, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 33763, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char[12]" + }, + "valueCategory": "lvalue", + "value": "\"cw_internal\"" + } + ] + } + ] + }, + { + "id": "0x558a51fec0b0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 33786, + "line": 1120, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 33799, + "col": 22, + "tokLen": 19 + } + }, + "inner": [ + { + "id": "0x558a51fec080", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33793, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 33799, + "col": 22, + "tokLen": 19 + } + }, + "type": { + "qualType": "slsDetectorDefs::burstMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152ebc0", + "kind": "EnumConstantDecl", + "name": "CONTINUOUS_INTERNAL", + "type": { + "qualType": "slsDetectorDefs::burstMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fed4f0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 33824, + "line": 1121, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 33869, + "line": 1122, + "col": 22, + "tokLen": 19 + } + }, + "inner": [ + { + "id": "0x558a51fed440", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 33828, + "line": 1121, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33833, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fed428", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33830, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33830, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fed408", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33830, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 33830, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fec0e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33828, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 33828, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51fe8188", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fed3f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33833, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 33833, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fec100", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 33833, + "col": 14, + "tokLen": 13 + }, + "end": { + "offset": 33833, + "col": 14, + "tokLen": 13 + } + }, + "type": { + "qualType": "const char[12]" + }, + "valueCategory": "lvalue", + "value": "\"cw_external\"" + } + ] + } + ] + }, + { + "id": "0x558a51fed4e0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 33856, + "line": 1122, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 33869, + "col": 22, + "tokLen": 19 + } + }, + "inner": [ + { + "id": "0x558a51fed4b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33863, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 33869, + "col": 22, + "tokLen": 19 + } + }, + "type": { + "qualType": "slsDetectorDefs::burstMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152ec18", + "kind": "EnumConstantDecl", + "name": "CONTINUOUS_EXTERNAL", + "type": { + "qualType": "slsDetectorDefs::burstMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fedb18", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 33894, + "line": 1123, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 33938, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51fedb00", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 33894, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 33938, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51fedad8", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 33900, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 33938, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a51fedab8", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 33900, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 33938, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51fedab0", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51feda80", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 33900, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 33938, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51feda68", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 33913, + "col": 24, + "tokLen": 21 + }, + "end": { + "offset": 33937, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a51feda50", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33913, + "col": 24, + "tokLen": 21 + }, + "end": { + "offset": 33937, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51feda30", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 33913, + "col": 24, + "tokLen": 21 + }, + "end": { + "offset": 33937, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a51feda28", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51fed9f0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 33913, + "col": 24, + "tokLen": 21 + }, + "end": { + "offset": 33937, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fed9d8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33935, + "col": 46, + "tokLen": 1 + }, + "end": { + "offset": 33935, + "col": 46, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fed9b8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33935, + "col": 46, + "tokLen": 1 + }, + "end": { + "offset": 33935, + "col": 46, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a51fed9a0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 33913, + "col": 24, + "tokLen": 21 + }, + "end": { + "offset": 33913, + "col": 24, + "tokLen": 21 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fed520", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 33913, + "col": 24, + "tokLen": 21 + }, + "end": { + "offset": 33913, + "col": 24, + "tokLen": 21 + } + }, + "type": { + "qualType": "const char[20]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown burst mode \"" + } + ] + }, + { + "id": "0x558a51fed550", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 33937, + "col": 48, + "tokLen": 1 + }, + "end": { + "offset": 33937, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51fe8188", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +}, +{ + "id": "0x558a51fedcf0", + "kind": "FunctionDecl", + "loc": { + "offset": 33979, + "file": "ToString.cpp", + "line": 1126, + "col": 36, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 33944, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 34197, + "line": 1132, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bbd7d0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs16timingSourceTypeEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::timingSourceType (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::timingSourceType" + }, + "inner": [ + { + "id": "0x558a5152eda0", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::timingSourceType" + }, + "decl": { + "id": "0x558a5152ecf8", + "kind": "EnumDecl", + "name": "timingSourceType" + } + } + ] + }, + { + "id": "0x558a51fedc18", + "kind": "ParmVarDecl", + "loc": { + "offset": 34007, + "line": 1126, + "col": 64, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 33988, + "col": 45, + "tokLen": 5 + }, + "end": { + "offset": 34007, + "col": 64, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51ff0d90", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 34010, + "col": 67, + "tokLen": 1 + }, + "end": { + "offset": 34197, + "line": 1132, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51fef2e0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 34016, + "line": 1127, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 34058, + "line": 1128, + "col": 22, + "tokLen": 15 + } + }, + "inner": [ + { + "id": "0x558a51fef230", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 34020, + "line": 1127, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34025, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51fef218", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34022, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34022, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51fef1f8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34022, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34022, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51feded8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34020, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34020, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51fedc18", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51fef1e0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34025, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 34025, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fedef8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 34025, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 34025, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"internal\"" + } + ] + } + ] + }, + { + "id": "0x558a51fef2d0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 34045, + "line": 1128, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 34058, + "col": 22, + "tokLen": 15 + } + }, + "inner": [ + { + "id": "0x558a51fef2a0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34052, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 34058, + "col": 22, + "tokLen": 15 + } + }, + "type": { + "qualType": "slsDetectorDefs::timingSourceType" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152edc0", + "kind": "EnumConstantDecl", + "name": "TIMING_INTERNAL", + "type": { + "qualType": "slsDetectorDefs::timingSourceType" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51ff0710", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 34079, + "line": 1129, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 34121, + "line": 1130, + "col": 22, + "tokLen": 15 + } + }, + "inner": [ + { + "id": "0x558a51ff0660", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 34083, + "line": 1129, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34088, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51ff0648", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34085, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34085, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51ff0628", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34085, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34085, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51fef300", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34083, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34083, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51fedc18", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51ff0610", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34088, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 34088, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51fef320", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 34088, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 34088, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"external\"" + } + ] + } + ] + }, + { + "id": "0x558a51ff0700", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 34108, + "line": 1130, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 34121, + "col": 22, + "tokLen": 15 + } + }, + "inner": [ + { + "id": "0x558a51ff06d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34115, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 34121, + "col": 22, + "tokLen": 15 + } + }, + "type": { + "qualType": "slsDetectorDefs::timingSourceType" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152ee18", + "kind": "EnumConstantDecl", + "name": "TIMING_EXTERNAL", + "type": { + "qualType": "slsDetectorDefs::timingSourceType" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51ff0d78", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 34142, + "line": 1131, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 34194, + "col": 57, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51ff0d60", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 34142, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 34194, + "col": 57, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51ff0d38", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 34148, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 34194, + "col": 57, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a51ff0d18", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 34148, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 34194, + "col": 57, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51ff0d10", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51ff0ce0", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 34148, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 34194, + "col": 57, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51ff0cc8", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 34161, + "col": 24, + "tokLen": 29 + }, + "end": { + "offset": 34193, + "col": 56, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a51ff0cb0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34161, + "col": 24, + "tokLen": 29 + }, + "end": { + "offset": 34193, + "col": 56, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51ff0c90", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 34161, + "col": 24, + "tokLen": 29 + }, + "end": { + "offset": 34193, + "col": 56, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a51ff0c88", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51ff0c50", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 34161, + "col": 24, + "tokLen": 29 + }, + "end": { + "offset": 34193, + "col": 56, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51ff0c38", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34191, + "col": 54, + "tokLen": 1 + }, + "end": { + "offset": 34191, + "col": 54, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51ff0c18", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34191, + "col": 54, + "tokLen": 1 + }, + "end": { + "offset": 34191, + "col": 54, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a51ff0c00", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34161, + "col": 24, + "tokLen": 29 + }, + "end": { + "offset": 34161, + "col": 24, + "tokLen": 29 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51ff0740", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 34161, + "col": 24, + "tokLen": 29 + }, + "end": { + "offset": 34161, + "col": 24, + "tokLen": 29 + } + }, + "type": { + "qualType": "const char[28]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown timing source type \"" + } + ] + }, + { + "id": "0x558a51ff0778", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34193, + "col": 56, + "tokLen": 1 + }, + "end": { + "offset": 34193, + "col": 56, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51fedc18", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +}, +{ + "id": "0x558a51ff0f40", + "kind": "FunctionDecl", + "loc": { + "offset": 34230, + "file": "ToString.cpp", + "line": 1134, + "col": 31, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 34200, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 34640, + "line": 1148, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bbdd60", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs11M3_GainCapsEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::M3_GainCaps (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::M3_GainCaps" + }, + "inner": [ + { + "id": "0x558a5152ef10", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::M3_GainCaps" + }, + "decl": { + "id": "0x558a5152ee70", + "kind": "EnumDecl", + "name": "M3_GainCaps" + } + } + ] + }, + { + "id": "0x558a51ff0e68", + "kind": "ParmVarDecl", + "loc": { + "offset": 34258, + "line": 1134, + "col": 59, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 34239, + "col": 40, + "tokLen": 5 + }, + "end": { + "offset": 34258, + "col": 59, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51ff9060", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 34261, + "col": 62, + "tokLen": 1 + }, + "end": { + "offset": 34640, + "line": 1148, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51ff2530", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 34267, + "line": 1135, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 34307, + "line": 1136, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51ff2480", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 34271, + "line": 1135, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34276, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51ff2468", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34273, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34273, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51ff2448", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34273, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34273, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51ff1128", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34271, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34271, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ff0e68", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51ff2430", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34276, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 34276, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51ff1148", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 34276, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 34276, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"C10pre\"" + } + ] + } + ] + }, + { + "id": "0x558a51ff2520", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 34294, + "line": 1136, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 34307, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51ff24f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34301, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 34307, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::M3_GainCaps" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152efb0", + "kind": "EnumConstantDecl", + "name": "M3_C10pre", + "type": { + "qualType": "slsDetectorDefs::M3_GainCaps" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51ff3960", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 34322, + "line": 1137, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 34361, + "line": 1138, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51ff38b0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 34326, + "line": 1137, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34331, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51ff3898", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34328, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34328, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51ff3878", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34328, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34328, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51ff2550", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34326, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34326, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ff0e68", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51ff3860", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34331, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 34331, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51ff2570", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 34331, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 34331, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"C15sh\"" + } + ] + } + ] + }, + { + "id": "0x558a51ff3950", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 34348, + "line": 1138, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 34361, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51ff3920", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34355, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 34361, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::M3_GainCaps" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152f088", + "kind": "EnumConstantDecl", + "name": "M3_C15sh", + "type": { + "qualType": "slsDetectorDefs::M3_GainCaps" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51ff4d90", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 34375, + "line": 1139, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 34414, + "line": 1140, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51ff4ce0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 34379, + "line": 1139, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34384, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51ff4cc8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34381, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34381, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51ff4ca8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34381, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34381, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51ff3980", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34379, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34379, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ff0e68", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51ff4c90", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34384, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 34384, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51ff39a0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 34384, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 34384, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"C30sh\"" + } + ] + } + ] + }, + { + "id": "0x558a51ff4d80", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 34401, + "line": 1140, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 34414, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51ff4d50", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34408, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 34414, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::M3_GainCaps" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152f160", + "kind": "EnumConstantDecl", + "name": "M3_C30sh", + "type": { + "qualType": "slsDetectorDefs::M3_GainCaps" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51ff61c0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 34428, + "line": 1141, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 34467, + "line": 1142, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51ff6110", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 34432, + "line": 1141, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34437, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51ff60f8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34434, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34434, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51ff60d8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34434, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34434, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51ff4db0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34432, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34432, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ff0e68", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51ff60c0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34437, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 34437, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51ff4dd0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 34437, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 34437, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"C50sh\"" + } + ] + } + ] + }, + { + "id": "0x558a51ff61b0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 34454, + "line": 1142, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 34467, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a51ff6180", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34461, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 34467, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::M3_GainCaps" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152f238", + "kind": "EnumConstantDecl", + "name": "M3_C50sh", + "type": { + "qualType": "slsDetectorDefs::M3_GainCaps" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51ff75f0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 34481, + "line": 1143, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 34523, + "line": 1144, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51ff7540", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 34485, + "line": 1143, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34490, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51ff7528", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34487, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34487, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51ff7508", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34487, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34487, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51ff61e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34485, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34485, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ff0e68", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51ff74f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34490, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 34490, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51ff6200", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 34490, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 34490, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"C225ACsh\"" + } + ] + } + ] + }, + { + "id": "0x558a51ff75e0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 34510, + "line": 1144, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 34523, + "col": 22, + "tokLen": 11 + } + }, + "inner": [ + { + "id": "0x558a51ff75b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34517, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 34523, + "col": 22, + "tokLen": 11 + } + }, + "type": { + "qualType": "slsDetectorDefs::M3_GainCaps" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152f310", + "kind": "EnumConstantDecl", + "name": "M3_C225ACsh", + "type": { + "qualType": "slsDetectorDefs::M3_GainCaps" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51ff8a20", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 34540, + "line": 1145, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 34580, + "line": 1146, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51ff8970", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 34544, + "line": 1145, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34549, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51ff8958", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34546, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34546, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51ff8938", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34546, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34546, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51ff7610", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34544, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34544, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ff0e68", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51ff8920", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34549, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 34549, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51ff7630", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 34549, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 34549, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"C15pre\"" + } + ] + } + ] + }, + { + "id": "0x558a51ff8a10", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 34567, + "line": 1146, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 34580, + "col": 22, + "tokLen": 9 + } + }, + "inner": [ + { + "id": "0x558a51ff89e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34574, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 34580, + "col": 22, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::M3_GainCaps" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152f3e8", + "kind": "EnumConstantDecl", + "name": "M3_C15pre", + "type": { + "qualType": "slsDetectorDefs::M3_GainCaps" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51ff9048", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 34595, + "line": 1147, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 34637, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51ff9030", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 34595, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 34637, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51ff9008", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 34601, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 34637, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a51ff8fe8", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 34601, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 34637, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51ff8fe0", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51ff8fb0", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 34601, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 34637, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51ff8f98", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 34614, + "col": 24, + "tokLen": 19 + }, + "end": { + "offset": 34636, + "col": 46, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a51ff8f80", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34614, + "col": 24, + "tokLen": 19 + }, + "end": { + "offset": 34636, + "col": 46, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51ff8f60", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 34614, + "col": 24, + "tokLen": 19 + }, + "end": { + "offset": 34636, + "col": 46, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a51ff8f58", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51ff8f20", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 34614, + "col": 24, + "tokLen": 19 + }, + "end": { + "offset": 34636, + "col": 46, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51ff8f08", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34634, + "col": 44, + "tokLen": 1 + }, + "end": { + "offset": 34634, + "col": 44, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51ff8ee8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34634, + "col": 44, + "tokLen": 1 + }, + "end": { + "offset": 34634, + "col": 44, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a51ff8ed0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34614, + "col": 24, + "tokLen": 19 + }, + "end": { + "offset": 34614, + "col": 24, + "tokLen": 19 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51ff8a50", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 34614, + "col": 24, + "tokLen": 19 + }, + "end": { + "offset": 34614, + "col": 24, + "tokLen": 19 + } + }, + "type": { + "qualType": "const char[18]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown gain cap \"" + } + ] + }, + { + "id": "0x558a51ff8a80", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34636, + "col": 46, + "tokLen": 1 + }, + "end": { + "offset": 34636, + "col": 46, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ff0e68", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +}, +{ + "id": "0x558a51ff9230", + "kind": "FunctionDecl", + "loc": { + "offset": 34674, + "file": "ToString.cpp", + "line": 1150, + "col": 32, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 34643, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 34957, + "line": 1160, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bbe2f0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs12portPositionEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::portPosition (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::portPosition" + }, + "inner": [ + { + "id": "0x558a5152f570", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::portPosition" + }, + "decl": { + "id": "0x558a5152f4d0", + "kind": "EnumDecl", + "name": "portPosition" + } + } + ] + }, + { + "id": "0x558a51ff9158", + "kind": "ParmVarDecl", + "loc": { + "offset": 34702, + "line": 1150, + "col": 60, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 34683, + "col": 41, + "tokLen": 5 + }, + "end": { + "offset": 34702, + "col": 60, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a51ffeaf0", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 34705, + "col": 63, + "tokLen": 1 + }, + "end": { + "offset": 34957, + "line": 1160, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51ffa820", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 34711, + "line": 1151, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 34749, + "line": 1152, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51ffa770", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 34715, + "line": 1151, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34720, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51ffa758", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34717, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34717, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51ffa738", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34717, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34717, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51ff9418", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34715, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34715, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ff9158", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51ffa720", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34720, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 34720, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51ff9438", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 34720, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 34720, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char[5]" + }, + "valueCategory": "lvalue", + "value": "\"left\"" + } + ] + } + ] + }, + { + "id": "0x558a51ffa810", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 34736, + "line": 1152, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 34749, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a51ffa7e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34743, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 34749, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "slsDetectorDefs::portPosition" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152f590", + "kind": "EnumConstantDecl", + "name": "LEFT", + "type": { + "qualType": "slsDetectorDefs::portPosition" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51ffbc50", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 34759, + "line": 1153, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 34798, + "line": 1154, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51ffbba0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 34763, + "line": 1153, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34768, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51ffbb88", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34765, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34765, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51ffbb68", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34765, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34765, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51ffa840", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34763, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34763, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ff9158", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51ffbb50", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34768, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 34768, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51ffa860", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 34768, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 34768, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"right\"" + } + ] + } + ] + }, + { + "id": "0x558a51ffbc40", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 34785, + "line": 1154, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 34798, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a51ffbc10", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34792, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 34798, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::portPosition" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152f5e8", + "kind": "EnumConstantDecl", + "name": "RIGHT", + "type": { + "qualType": "slsDetectorDefs::portPosition" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51ffd080", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 34809, + "line": 1155, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 34846, + "line": 1156, + "col": 22, + "tokLen": 3 + } + }, + "inner": [ + { + "id": "0x558a51ffcfd0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 34813, + "line": 1155, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34818, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51ffcfb8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34815, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34815, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51ffcf98", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34815, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34815, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51ffbc70", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34813, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34813, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ff9158", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51ffcf80", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34818, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 34818, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51ffbc90", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 34818, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 34818, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char[4]" + }, + "valueCategory": "lvalue", + "value": "\"top\"" + } + ] + } + ] + }, + { + "id": "0x558a51ffd070", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 34833, + "line": 1156, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 34846, + "col": 22, + "tokLen": 3 + } + }, + "inner": [ + { + "id": "0x558a51ffd040", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34840, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 34846, + "col": 22, + "tokLen": 3 + } + }, + "type": { + "qualType": "slsDetectorDefs::portPosition" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152f640", + "kind": "EnumConstantDecl", + "name": "TOP", + "type": { + "qualType": "slsDetectorDefs::portPosition" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51ffe4b0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 34855, + "line": 1157, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 34895, + "line": 1158, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51ffe400", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 34859, + "line": 1157, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34864, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51ffe3e8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34861, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34861, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51ffe3c8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34861, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 34861, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a51ffd0a0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34859, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 34859, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ff9158", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a51ffe3b0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34864, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 34864, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51ffd0c0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 34864, + "col": 14, + "tokLen": 8 + }, + "end": { + "offset": 34864, + "col": 14, + "tokLen": 8 + } + }, + "type": { + "qualType": "const char[7]" + }, + "valueCategory": "lvalue", + "value": "\"bottom\"" + } + ] + } + ] + }, + { + "id": "0x558a51ffe4a0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 34882, + "line": 1158, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 34895, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a51ffe470", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34889, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 34895, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::portPosition" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152f698", + "kind": "EnumConstantDecl", + "name": "BOTTOM", + "type": { + "qualType": "slsDetectorDefs::portPosition" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51ffead8", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 34907, + "line": 1159, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 34954, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a51ffeac0", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 34907, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 34954, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51ffea98", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 34913, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 34954, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a51ffea78", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 34913, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 34954, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a51ffea70", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51ffea40", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 34913, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 34954, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51ffea28", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 34926, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 34953, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a51ffea10", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34926, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 34953, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51ffe9f0", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 34926, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 34953, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a51ffe9e8", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a51ffe9b0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 34926, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 34953, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a51ffe998", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34951, + "col": 49, + "tokLen": 1 + }, + "end": { + "offset": 34951, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a51ffe978", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34951, + "col": 49, + "tokLen": 1 + }, + "end": { + "offset": 34951, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a51ffe960", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 34926, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 34926, + "col": 24, + "tokLen": 24 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a51ffe4e0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 34926, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 34926, + "col": 24, + "tokLen": 24 + } + }, + "type": { + "qualType": "const char[23]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown port position \"" + } + ] + }, + { + "id": "0x558a51ffe510", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 34953, + "col": 51, + "tokLen": 1 + }, + "end": { + "offset": 34953, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ff9158", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +}, +{ + "id": "0x558a51ffecb0", + "kind": "FunctionDecl", + "loc": { + "offset": 34997, + "file": "ToString.cpp", + "line": 1162, + "col": 38, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 34960, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 35420, + "line": 1173, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bbe880", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs18streamingInterfaceEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::streamingInterface (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::streamingInterface" + }, + "inner": [ + { + "id": "0x558a5152f930", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::streamingInterface" + }, + "decl": { + "id": "0x558a5152f890", + "kind": "EnumDecl", + "name": "streamingInterface" + } + } + ] + }, + { + "id": "0x558a51ffebd8", + "kind": "ParmVarDecl", + "loc": { + "offset": 35025, + "line": 1162, + "col": 66, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 35006, + "col": 47, + "tokLen": 5 + }, + "end": { + "offset": 35025, + "col": 66, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a520048f0", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 35028, + "col": 69, + "tokLen": 1 + }, + "end": { + "offset": 35420, + "line": 1173, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51ffef98", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 35034, + "line": 1163, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 35052, + "col": 23, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51ffeee0", + "kind": "VarDecl", + "loc": { + "offset": 35046, + "col": 17, + "tokLen": 2 + }, + "range": { + "begin": { + "offset": 35034, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 35051, + "col": 22, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "rs", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "init": "c", + "inner": [ + { + "id": "0x558a51ffef68", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 35051, + "col": 22, + "tokLen": 1 + }, + "end": { + "offset": 35051, + "col": 22, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const basic_string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a51ffef48", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35051, + "col": 22, + "tokLen": 1 + }, + "end": { + "offset": 35051, + "col": 22, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ffebd8", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + }, + { + "id": "0x558a52000550", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 35058, + "line": 1164, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 35125, + "line": 1165, + "col": 30, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a51fffa78", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 35062, + "line": 1164, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35090, + "col": 37, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "!=", + "inner": [ + { + "id": "0x558a51fff900", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 35062, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35072, + "col": 19, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51fff8d0", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 35062, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35064, + "col": 11, + "tokLen": 4 + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "find", + "isArrow": false, + "referencedMemberDecl": "0x558a50c9b838", + "inner": [ + { + "id": "0x558a51ffefb0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35062, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35062, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ffebd8", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + }, + { + "id": "0x558a51fff048", + "kind": "CharacterLiteral", + "range": { + "begin": { + "offset": 35069, + "col": 16, + "tokLen": 3 + }, + "end": { + "offset": 35069, + "col": 16, + "tokLen": 3 + } + }, + "type": { + "qualType": "char" + }, + "valueCategory": "prvalue", + "value": 44 + }, + { + "id": "0x558a51fff948", + "kind": "CXXDefaultArgExpr", + "range": { + "begin": {}, + "end": {} + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51fff930", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 102107, + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/bits/basic_string.h", + "line": 2991, + "col": 42, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 102107, + "col": 42, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a50b7f9b0", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 102107, + "col": 42, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 102107, + "col": 42, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a51fffa60", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35077, + "file": "ToString.cpp", + "line": 1164, + "col": 24, + "tokLen": 3 + }, + "end": { + "offset": 35090, + "col": 37, + "tokLen": 4 + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a51fffa30", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35077, + "col": 24, + "tokLen": 3 + }, + "end": { + "offset": 35090, + "col": 37, + "tokLen": 4 + } + }, + "type": { + "desugaredQualType": "const unsigned long", + "qualType": "const typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a518bd2a0", + "kind": "VarDecl", + "name": "npos", + "type": { + "desugaredQualType": "const unsigned long", + "qualType": "const typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + } + }, + "nonOdrUseReason": "constant" + } + ] + } + ] + }, + { + "id": "0x558a520004a8", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 35104, + "line": 1165, + "col": 9, + "tokLen": 2 + }, + "end": { + "offset": 35125, + "col": 30, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string" + }, + "valueCategory": "lvalue", + "inner": [ + { + "id": "0x558a52000478", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 35104, + "col": 9, + "tokLen": 2 + }, + "end": { + "offset": 35107, + "col": 12, + "tokLen": 5 + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "erase", + "isArrow": false, + "referencedMemberDecl": "0x558a50c904f8", + "inner": [ + { + "id": "0x558a51fffa98", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35104, + "col": 9, + "tokLen": 2 + }, + "end": { + "offset": 35104, + "col": 9, + "tokLen": 2 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ffeee0", + "kind": "VarDecl", + "name": "rs", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + } + } + } + ] + }, + { + "id": "0x558a520003f8", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 35113, + "col": 18, + "tokLen": 2 + }, + "end": { + "offset": 35124, + "col": 29, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a520003b0", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 35113, + "col": 18, + "tokLen": 2 + }, + "end": { + "offset": 35116, + "col": 21, + "tokLen": 4 + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "find", + "isArrow": false, + "referencedMemberDecl": "0x558a50c9b838", + "inner": [ + { + "id": "0x558a520003e0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35113, + "col": 18, + "tokLen": 2 + }, + "end": { + "offset": 35113, + "col": 18, + "tokLen": 2 + } + }, + "type": { + "qualType": "const std::basic_string" + }, + "valueCategory": "lvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a51fffb20", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35113, + "col": 18, + "tokLen": 2 + }, + "end": { + "offset": 35113, + "col": 18, + "tokLen": 2 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ffeee0", + "kind": "VarDecl", + "name": "rs", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + } + } + } + ] + } + ] + }, + { + "id": "0x558a51fffbb8", + "kind": "CharacterLiteral", + "range": { + "begin": { + "offset": 35121, + "col": 26, + "tokLen": 3 + }, + "end": { + "offset": 35121, + "col": 26, + "tokLen": 3 + } + }, + "type": { + "qualType": "char" + }, + "valueCategory": "prvalue", + "value": 44 + }, + { + "id": "0x558a52000428", + "kind": "CXXDefaultArgExpr", + "range": { + "begin": {}, + "end": {} + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a51fff930", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 102107, + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/bits/basic_string.h", + "line": 2991, + "col": 42, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 102107, + "col": 42, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a50b7f9b0", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 102107, + "col": 42, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 102107, + "col": 42, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a52000530", + "kind": "CXXDefaultArgExpr", + "range": { + "begin": {}, + "end": {} + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52000518", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 76670, + "line": 2323, + "col": 50, + "tokLen": 4, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 76670, + "col": 50, + "tokLen": 4, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a520004f8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 76670, + "col": 50, + "tokLen": 4, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 76670, + "col": 50, + "tokLen": 4, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "desugaredQualType": "const unsigned long", + "qualType": "const typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a518bd2a0", + "kind": "VarDecl", + "name": "npos", + "type": { + "desugaredQualType": "const unsigned long", + "qualType": "const typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + } + }, + "nonOdrUseReason": "constant" + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a520019b0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 35132, + "file": "ToString.cpp", + "line": 1166, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 35191, + "line": 1167, + "col": 42, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a520018e8", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 35136, + "line": 1166, + "col": 9, + "tokLen": 2 + }, + "end": { + "offset": 35142, + "col": 15, + "tokLen": 6 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a520018d0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35139, + "col": 12, + "tokLen": 2 + }, + "end": { + "offset": 35139, + "col": 12, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a520018b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35139, + "col": 12, + "tokLen": 2 + }, + "end": { + "offset": 35139, + "col": 12, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a52001880", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35136, + "col": 9, + "tokLen": 2 + }, + "end": { + "offset": 35136, + "col": 9, + "tokLen": 2 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a52000570", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35136, + "col": 9, + "tokLen": 2 + }, + "end": { + "offset": 35136, + "col": 9, + "tokLen": 2 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ffeee0", + "kind": "VarDecl", + "name": "rs", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + } + } + } + ] + }, + { + "id": "0x558a52001898", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35142, + "col": 15, + "tokLen": 6 + }, + "end": { + "offset": 35142, + "col": 15, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52000590", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 35142, + "col": 15, + "tokLen": 6 + }, + "end": { + "offset": 35142, + "col": 15, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char[5]" + }, + "valueCategory": "lvalue", + "value": "\"none\"" + } + ] + } + ] + }, + { + "id": "0x558a520019a0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 35158, + "line": 1167, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 35191, + "col": 42, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a52001970", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35165, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 35191, + "col": 42, + "tokLen": 4 + } + }, + "type": { + "qualType": "slsDetectorDefs::streamingInterface" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152f990", + "kind": "EnumConstantDecl", + "name": "NONE", + "type": { + "qualType": "slsDetectorDefs::streamingInterface" + } + } + } + ] + } + ] + }, + { + "id": "0x558a52002e10", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 35201, + "line": 1168, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 35259, + "line": 1169, + "col": 42, + "tokLen": 16 + } + }, + "inner": [ + { + "id": "0x558a52002d48", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 35205, + "line": 1168, + "col": 9, + "tokLen": 2 + }, + "end": { + "offset": 35211, + "col": 15, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52002d30", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35208, + "col": 12, + "tokLen": 2 + }, + "end": { + "offset": 35208, + "col": 12, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52002d10", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35208, + "col": 12, + "tokLen": 2 + }, + "end": { + "offset": 35208, + "col": 12, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a52002ce0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35205, + "col": 9, + "tokLen": 2 + }, + "end": { + "offset": 35205, + "col": 9, + "tokLen": 2 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a520019d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35205, + "col": 9, + "tokLen": 2 + }, + "end": { + "offset": 35205, + "col": 9, + "tokLen": 2 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ffeee0", + "kind": "VarDecl", + "name": "rs", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + } + } + } + ] + }, + { + "id": "0x558a52002cf8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35211, + "col": 15, + "tokLen": 5 + }, + "end": { + "offset": 35211, + "col": 15, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a520019f0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 35211, + "col": 15, + "tokLen": 5 + }, + "end": { + "offset": 35211, + "col": 15, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char[4]" + }, + "valueCategory": "lvalue", + "value": "\"lll\"" + } + ] + } + ] + }, + { + "id": "0x558a52002e00", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 35226, + "line": 1169, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 35259, + "col": 42, + "tokLen": 16 + } + }, + "inner": [ + { + "id": "0x558a52002dd0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35233, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 35259, + "col": 42, + "tokLen": 16 + } + }, + "type": { + "qualType": "slsDetectorDefs::streamingInterface" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152fa68", + "kind": "EnumConstantDecl", + "name": "LOW_LATENCY_LINK", + "type": { + "qualType": "slsDetectorDefs::streamingInterface" + } + } + } + ] + } + ] + }, + { + "id": "0x558a52004270", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 35281, + "line": 1170, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 35341, + "line": 1171, + "col": 42, + "tokLen": 13 + } + }, + "inner": [ + { + "id": "0x558a520041a8", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 35285, + "line": 1170, + "col": 9, + "tokLen": 2 + }, + "end": { + "offset": 35291, + "col": 15, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52004190", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35288, + "col": 12, + "tokLen": 2 + }, + "end": { + "offset": 35288, + "col": 12, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52004170", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35288, + "col": 12, + "tokLen": 2 + }, + "end": { + "offset": 35288, + "col": 12, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a52004140", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35285, + "col": 9, + "tokLen": 2 + }, + "end": { + "offset": 35285, + "col": 9, + "tokLen": 2 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a52002e30", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35285, + "col": 9, + "tokLen": 2 + }, + "end": { + "offset": 35285, + "col": 9, + "tokLen": 2 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ffeee0", + "kind": "VarDecl", + "name": "rs", + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "std::string", + "typeAliasDeclId": "0x558a50689410" + } + } + } + ] + }, + { + "id": "0x558a52004158", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35291, + "col": 15, + "tokLen": 7 + }, + "end": { + "offset": 35291, + "col": 15, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52002e50", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 35291, + "col": 15, + "tokLen": 7 + }, + "end": { + "offset": 35291, + "col": 15, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"10gbe\"" + } + ] + } + ] + }, + { + "id": "0x558a52004260", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 35308, + "line": 1171, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 35341, + "col": 42, + "tokLen": 13 + } + }, + "inner": [ + { + "id": "0x558a52004230", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35315, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 35341, + "col": 42, + "tokLen": 13 + } + }, + "type": { + "qualType": "slsDetectorDefs::streamingInterface" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152fb40", + "kind": "EnumConstantDecl", + "name": "ETHERNET_10GB", + "type": { + "qualType": "slsDetectorDefs::streamingInterface" + } + } + } + ] + } + ] + }, + { + "id": "0x558a520048d8", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 35360, + "line": 1172, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 35417, + "col": 62, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a520048c0", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 35360, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 35417, + "col": 62, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52004898", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 35366, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 35417, + "col": 62, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a52004878", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 35366, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 35417, + "col": 62, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a52004870", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a52004840", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 35366, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 35417, + "col": 62, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a52004828", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 35379, + "col": 24, + "tokLen": 34 + }, + "end": { + "offset": 35416, + "col": 61, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a52004810", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35379, + "col": 24, + "tokLen": 34 + }, + "end": { + "offset": 35416, + "col": 61, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a520047f0", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 35379, + "col": 24, + "tokLen": 34 + }, + "end": { + "offset": 35416, + "col": 61, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a520047e8", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a520047b0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 35379, + "col": 24, + "tokLen": 34 + }, + "end": { + "offset": 35416, + "col": 61, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52004798", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35414, + "col": 59, + "tokLen": 1 + }, + "end": { + "offset": 35414, + "col": 59, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52004778", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35414, + "col": 59, + "tokLen": 1 + }, + "end": { + "offset": 35414, + "col": 59, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a52004760", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35379, + "col": 24, + "tokLen": 34 + }, + "end": { + "offset": 35379, + "col": 24, + "tokLen": 34 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a520042a0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 35379, + "col": 24, + "tokLen": 34 + }, + "end": { + "offset": 35379, + "col": 24, + "tokLen": 34 + } + }, + "type": { + "qualType": "const char[33]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown streamingInterface type \"" + } + ] + }, + { + "id": "0x558a520042d8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35416, + "col": 61, + "tokLen": 1 + }, + "end": { + "offset": 35416, + "col": 61, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51ffebd8", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +}, +{ + "id": "0x558a52004ac0", + "kind": "FunctionDecl", + "loc": { + "offset": 35455, + "file": "ToString.cpp", + "line": 1175, + "col": 33, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 35423, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 35645, + "line": 1181, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bbee10", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs13vetoAlgorithmEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::vetoAlgorithm (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::vetoAlgorithm" + }, + "inner": [ + { + "id": "0x558a5152fd10", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::vetoAlgorithm" + }, + "decl": { + "id": "0x558a5152fc70", + "kind": "EnumDecl", + "name": "vetoAlgorithm" + } + } + ] + }, + { + "id": "0x558a520049e0", + "kind": "ParmVarDecl", + "loc": { + "offset": 35483, + "line": 1175, + "col": 61, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 35464, + "col": 42, + "tokLen": 5 + }, + "end": { + "offset": 35483, + "col": 61, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a52007b30", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 35486, + "col": 64, + "tokLen": 1 + }, + "end": { + "offset": 35645, + "line": 1181, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a520060b0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 35492, + "line": 1176, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 35530, + "line": 1177, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a52006000", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 35496, + "line": 1176, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35501, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52005fe8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35498, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 35498, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52005fc8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35498, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 35498, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a52004ca8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35496, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35496, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a520049e0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a52005fb0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35501, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 35501, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52004cc8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 35501, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 35501, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char[5]" + }, + "valueCategory": "lvalue", + "value": "\"hits\"" + } + ] + } + ] + }, + { + "id": "0x558a520060a0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 35517, + "line": 1177, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 35530, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a52006070", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35524, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 35530, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::vetoAlgorithm" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152fd30", + "kind": "EnumConstantDecl", + "name": "ALG_HITS", + "type": { + "qualType": "slsDetectorDefs::vetoAlgorithm" + } + } + } + ] + } + ] + }, + { + "id": "0x558a520074f0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 35544, + "line": 1178, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 35581, + "line": 1179, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a52007440", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 35548, + "line": 1178, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35553, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52007428", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35550, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 35550, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52007408", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35550, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 35550, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a520060d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35548, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35548, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a520049e0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a520073f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35553, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 35553, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a520060f0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 35553, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 35553, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char[4]" + }, + "valueCategory": "lvalue", + "value": "\"raw\"" + } + ] + } + ] + }, + { + "id": "0x558a520074e0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 35568, + "line": 1179, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 35581, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a520074b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35575, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 35581, + "col": 22, + "tokLen": 7 + } + }, + "type": { + "qualType": "slsDetectorDefs::vetoAlgorithm" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152fd88", + "kind": "EnumConstantDecl", + "name": "ALG_RAW", + "type": { + "qualType": "slsDetectorDefs::vetoAlgorithm" + } + } + } + ] + } + ] + }, + { + "id": "0x558a52007b18", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 35594, + "line": 1180, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 35642, + "col": 53, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a52007b00", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 35594, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 35642, + "col": 53, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52007ad8", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 35600, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 35642, + "col": 53, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a52007ab8", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 35600, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 35642, + "col": 53, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a52007ab0", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a52007a80", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 35600, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 35642, + "col": 53, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a52007a68", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 35613, + "col": 24, + "tokLen": 25 + }, + "end": { + "offset": 35641, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a52007a50", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35613, + "col": 24, + "tokLen": 25 + }, + "end": { + "offset": 35641, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a52007a30", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 35613, + "col": 24, + "tokLen": 25 + }, + "end": { + "offset": 35641, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a52007a28", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a520079f0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 35613, + "col": 24, + "tokLen": 25 + }, + "end": { + "offset": 35641, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a520079d8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35639, + "col": 50, + "tokLen": 1 + }, + "end": { + "offset": 35639, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a520079b8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35639, + "col": 50, + "tokLen": 1 + }, + "end": { + "offset": 35639, + "col": 50, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a520079a0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35613, + "col": 24, + "tokLen": 25 + }, + "end": { + "offset": 35613, + "col": 24, + "tokLen": 25 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52007520", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 35613, + "col": 24, + "tokLen": 25 + }, + "end": { + "offset": 35613, + "col": 24, + "tokLen": 25 + } + }, + "type": { + "qualType": "const char[24]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown veto algorithm \"" + } + ] + }, + { + "id": "0x558a52007550", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35641, + "col": 52, + "tokLen": 1 + }, + "end": { + "offset": 35641, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a520049e0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +}, +{ + "id": "0x558a52007ce0", + "kind": "FunctionDecl", + "loc": { + "offset": 35675, + "file": "ToString.cpp", + "line": 1183, + "col": 28, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 35648, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 36101, + "line": 1197, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bbf3a0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs8gainModeEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::gainMode (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::gainMode" + }, + "inner": [ + { + "id": "0x558a5152fe80", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::gainMode" + }, + "decl": { + "id": "0x558a5152fde0", + "kind": "EnumDecl", + "name": "gainMode" + } + } + ] + }, + { + "id": "0x558a52007c08", + "kind": "ParmVarDecl", + "loc": { + "offset": 35703, + "line": 1183, + "col": 56, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 35684, + "col": 37, + "tokLen": 5 + }, + "end": { + "offset": 35703, + "col": 56, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a5200fe00", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 35706, + "col": 59, + "tokLen": 1 + }, + "end": { + "offset": 36101, + "line": 1197, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a520092d0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 35712, + "line": 1184, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 35753, + "line": 1185, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a52009220", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 35716, + "line": 1184, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35721, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52009208", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35718, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 35718, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a520091e8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35718, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 35718, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a52007ec8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35716, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35716, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52007c08", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a520091d0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35721, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 35721, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52007ee8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 35721, + "col": 14, + "tokLen": 9 + }, + "end": { + "offset": 35721, + "col": 14, + "tokLen": 9 + } + }, + "type": { + "qualType": "const char[8]" + }, + "valueCategory": "lvalue", + "value": "\"dynamic\"" + } + ] + } + ] + }, + { + "id": "0x558a520092c0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 35740, + "line": 1185, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 35753, + "col": 22, + "tokLen": 7 + } + }, + "inner": [ + { + "id": "0x558a52009290", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35747, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 35753, + "col": 22, + "tokLen": 7 + } + }, + "type": { + "qualType": "slsDetectorDefs::gainMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152fea0", + "kind": "EnumConstantDecl", + "name": "DYNAMIC", + "type": { + "qualType": "slsDetectorDefs::gainMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a5200a700", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 35766, + "line": 1186, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 35813, + "line": 1187, + "col": 22, + "tokLen": 15 + } + }, + "inner": [ + { + "id": "0x558a5200a650", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 35770, + "line": 1186, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35775, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a5200a638", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35772, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 35772, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a5200a618", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35772, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 35772, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a520092f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35770, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35770, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52007c08", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a5200a600", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35775, + "col": 14, + "tokLen": 15 + }, + "end": { + "offset": 35775, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52009310", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 35775, + "col": 14, + "tokLen": 15 + }, + "end": { + "offset": 35775, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "const char[14]" + }, + "valueCategory": "lvalue", + "value": "\"forceswitchg1\"" + } + ] + } + ] + }, + { + "id": "0x558a5200a6f0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 35800, + "line": 1187, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 35813, + "col": 22, + "tokLen": 15 + } + }, + "inner": [ + { + "id": "0x558a5200a6c0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35807, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 35813, + "col": 22, + "tokLen": 15 + } + }, + "type": { + "qualType": "slsDetectorDefs::gainMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152fef8", + "kind": "EnumConstantDecl", + "name": "FORCE_SWITCH_G1", + "type": { + "qualType": "slsDetectorDefs::gainMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a5200bb30", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 35834, + "line": 1188, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 35881, + "line": 1189, + "col": 22, + "tokLen": 15 + } + }, + "inner": [ + { + "id": "0x558a5200ba80", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 35838, + "line": 1188, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35843, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a5200ba68", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35840, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 35840, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a5200ba48", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35840, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 35840, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a5200a720", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35838, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35838, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52007c08", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a5200ba30", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35843, + "col": 14, + "tokLen": 15 + }, + "end": { + "offset": 35843, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a5200a740", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 35843, + "col": 14, + "tokLen": 15 + }, + "end": { + "offset": 35843, + "col": 14, + "tokLen": 15 + } + }, + "type": { + "qualType": "const char[14]" + }, + "valueCategory": "lvalue", + "value": "\"forceswitchg2\"" + } + ] + } + ] + }, + { + "id": "0x558a5200bb20", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 35868, + "line": 1189, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 35881, + "col": 22, + "tokLen": 15 + } + }, + "inner": [ + { + "id": "0x558a5200baf0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35875, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 35881, + "col": 22, + "tokLen": 15 + } + }, + "type": { + "qualType": "slsDetectorDefs::gainMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152ff50", + "kind": "EnumConstantDecl", + "name": "FORCE_SWITCH_G2", + "type": { + "qualType": "slsDetectorDefs::gainMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a5200cf60", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 35902, + "line": 1190, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 35941, + "line": 1191, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a5200ceb0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 35906, + "line": 1190, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35911, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a5200ce98", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35908, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 35908, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a5200ce78", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35908, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 35908, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a5200bb50", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35906, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35906, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52007c08", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a5200ce60", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35911, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 35911, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a5200bb70", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 35911, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 35911, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"fixg1\"" + } + ] + } + ] + }, + { + "id": "0x558a5200cf50", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 35928, + "line": 1191, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 35941, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a5200cf20", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35935, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 35941, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::gainMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5152ffa8", + "kind": "EnumConstantDecl", + "name": "FIX_G1", + "type": { + "qualType": "slsDetectorDefs::gainMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a5200e390", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 35953, + "line": 1192, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 35992, + "line": 1193, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a5200e2e0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 35957, + "line": 1192, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35962, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a5200e2c8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35959, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 35959, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a5200e2a8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35959, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 35959, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a5200cf80", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35957, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 35957, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52007c08", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a5200e290", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 35962, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 35962, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a5200cfa0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 35962, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 35962, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"fixg2\"" + } + ] + } + ] + }, + { + "id": "0x558a5200e380", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 35979, + "line": 1193, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 35992, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a5200e350", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 35986, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 35992, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::gainMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a51530000", + "kind": "EnumConstantDecl", + "name": "FIX_G2", + "type": { + "qualType": "slsDetectorDefs::gainMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a5200f7c0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 36004, + "line": 1194, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 36043, + "line": 1195, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a5200f710", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 36008, + "line": 1194, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 36013, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a5200f6f8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36010, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 36010, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a5200f6d8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36010, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 36010, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a5200e3b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36008, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 36008, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52007c08", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a5200f6c0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36013, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 36013, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a5200e3d0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 36013, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 36013, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"fixg0\"" + } + ] + } + ] + }, + { + "id": "0x558a5200f7b0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 36030, + "line": 1195, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 36043, + "col": 22, + "tokLen": 6 + } + }, + "inner": [ + { + "id": "0x558a5200f780", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36037, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 36043, + "col": 22, + "tokLen": 6 + } + }, + "type": { + "qualType": "slsDetectorDefs::gainMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a51530058", + "kind": "EnumConstantDecl", + "name": "FIX_G0", + "type": { + "qualType": "slsDetectorDefs::gainMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a5200fde8", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 36055, + "line": 1196, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 36098, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a5200fdd0", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 36055, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 36098, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5200fda8", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 36061, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 36098, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a5200fd88", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 36061, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 36098, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a5200fd80", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a5200fd50", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 36061, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 36098, + "col": 48, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a5200fd38", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 36074, + "col": 24, + "tokLen": 20 + }, + "end": { + "offset": 36097, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a5200fd20", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36074, + "col": 24, + "tokLen": 20 + }, + "end": { + "offset": 36097, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a5200fd00", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 36074, + "col": 24, + "tokLen": 20 + }, + "end": { + "offset": 36097, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a5200fcf8", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a5200fcc0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 36074, + "col": 24, + "tokLen": 20 + }, + "end": { + "offset": 36097, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a5200fca8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36095, + "col": 45, + "tokLen": 1 + }, + "end": { + "offset": 36095, + "col": 45, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a5200fc88", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36095, + "col": 45, + "tokLen": 1 + }, + "end": { + "offset": 36095, + "col": 45, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a5200fc70", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36074, + "col": 24, + "tokLen": 20 + }, + "end": { + "offset": 36074, + "col": 24, + "tokLen": 20 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a5200f7f0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 36074, + "col": 24, + "tokLen": 20 + }, + "end": { + "offset": 36074, + "col": 24, + "tokLen": 20 + } + }, + "type": { + "qualType": "const char[19]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown gain mode \"" + } + ] + }, + { + "id": "0x558a5200f820", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36097, + "col": 47, + "tokLen": 1 + }, + "end": { + "offset": 36097, + "col": 47, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52007c08", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +}, +{ + "id": "0x558a5200ffd0", + "kind": "FunctionDecl", + "loc": { + "offset": 36131, + "file": "ToString.cpp", + "line": 1199, + "col": 28, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 36104, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 36320, + "line": 1205, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bbf930", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs8polarityEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::polarity (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::polarity" + }, + "inner": [ + { + "id": "0x558a51530150", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::polarity" + }, + "decl": { + "id": "0x558a515300b0", + "kind": "EnumDecl", + "name": "polarity" + } + } + ] + }, + { + "id": "0x558a5200fef8", + "kind": "ParmVarDecl", + "loc": { + "offset": 36159, + "line": 1199, + "col": 56, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 36140, + "col": 37, + "tokLen": 5 + }, + "end": { + "offset": 36159, + "col": 56, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a52013030", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 36162, + "col": 59, + "tokLen": 1 + }, + "end": { + "offset": 36320, + "line": 1205, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a520115c0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 36168, + "line": 1200, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 36205, + "line": 1201, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a52011510", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 36172, + "line": 1200, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 36177, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a520114f8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36174, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 36174, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a520114d8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36174, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 36174, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a520101b8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36172, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 36172, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5200fef8", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a520114c0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36177, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 36177, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a520101d8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 36177, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 36177, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char[4]" + }, + "valueCategory": "lvalue", + "value": "\"pos\"" + } + ] + } + ] + }, + { + "id": "0x558a520115b0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 36192, + "line": 1201, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 36205, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a52011580", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36199, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 36205, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::polarity" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a51530170", + "kind": "EnumConstantDecl", + "name": "POSITIVE", + "type": { + "qualType": "slsDetectorDefs::polarity" + } + } + } + ] + } + ] + }, + { + "id": "0x558a520129f0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 36219, + "line": 1202, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 36256, + "line": 1203, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a52012940", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 36223, + "line": 1202, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 36228, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52012928", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36225, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 36225, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52012908", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36225, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 36225, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a520115e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36223, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 36223, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5200fef8", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a520128f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36228, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 36228, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52011600", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 36228, + "col": 14, + "tokLen": 5 + }, + "end": { + "offset": 36228, + "col": 14, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char[4]" + }, + "valueCategory": "lvalue", + "value": "\"neg\"" + } + ] + } + ] + }, + { + "id": "0x558a520129e0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 36243, + "line": 1203, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 36256, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a520129b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36250, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 36256, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::polarity" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a515301c8", + "kind": "EnumConstantDecl", + "name": "NEGATIVE", + "type": { + "qualType": "slsDetectorDefs::polarity" + } + } + } + ] + } + ] + }, + { + "id": "0x558a52013018", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 36270, + "line": 1204, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 36317, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a52013000", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 36270, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 36317, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52012fd8", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 36276, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 36317, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a52012fb8", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 36276, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 36317, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a52012fb0", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a52012f80", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 36276, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 36317, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a52012f68", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 36289, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 36316, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a52012f50", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36289, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 36316, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a52012f30", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 36289, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 36316, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a52012f28", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a52012ef0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 36289, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 36316, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52012ed8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36314, + "col": 49, + "tokLen": 1 + }, + "end": { + "offset": 36314, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52012eb8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36314, + "col": 49, + "tokLen": 1 + }, + "end": { + "offset": 36314, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a52012ea0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36289, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 36289, + "col": 24, + "tokLen": 24 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52012a20", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 36289, + "col": 24, + "tokLen": 24 + }, + "end": { + "offset": 36289, + "col": 24, + "tokLen": 24 + } + }, + "type": { + "qualType": "const char[23]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown polarity mode \"" + } + ] + }, + { + "id": "0x558a52012a50", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36316, + "col": 51, + "tokLen": 1 + }, + "end": { + "offset": 36316, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5200fef8", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +}, +{ + "id": "0x558a520131e0", + "kind": "FunctionDecl", + "loc": { + "offset": 36359, + "file": "ToString.cpp", + "line": 1207, + "col": 37, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 36323, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 36558, + "line": 1213, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bbfec0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs17timingInfoDecoderEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::timingInfoDecoder (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::timingInfoDecoder" + }, + "inner": [ + { + "id": "0x558a515302c0", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::timingInfoDecoder" + }, + "decl": { + "id": "0x558a51530220", + "kind": "EnumDecl", + "name": "timingInfoDecoder" + } + } + ] + }, + { + "id": "0x558a52013108", + "kind": "ParmVarDecl", + "loc": { + "offset": 36387, + "line": 1207, + "col": 65, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 36368, + "col": 46, + "tokLen": 5 + }, + "end": { + "offset": 36387, + "col": 65, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a52016280", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 36390, + "col": 68, + "tokLen": 1 + }, + "end": { + "offset": 36558, + "line": 1213, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a520147d0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 36396, + "line": 1208, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 36438, + "line": 1209, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a52014720", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 36400, + "line": 1208, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 36405, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52014708", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36402, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 36402, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a520146e8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36402, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 36402, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a520133c8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36400, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 36400, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52013108", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a520146d0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36405, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 36405, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a520133e8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 36405, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 36405, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"swissfel\"" + } + ] + } + ] + }, + { + "id": "0x558a520147c0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 36425, + "line": 1209, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 36438, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a52014790", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36432, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 36438, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::timingInfoDecoder" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a515302e0", + "kind": "EnumConstantDecl", + "name": "SWISSFEL", + "type": { + "qualType": "slsDetectorDefs::timingInfoDecoder" + } + } + } + ] + } + ] + }, + { + "id": "0x558a52015c00", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 36452, + "line": 1210, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 36491, + "line": 1211, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a52015b50", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 36456, + "line": 1210, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 36461, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52015b38", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36458, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 36458, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52015b18", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36458, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 36458, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a520147f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36456, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 36456, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52013108", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a52015b00", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36461, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 36461, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52014810", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 36461, + "col": 14, + "tokLen": 7 + }, + "end": { + "offset": 36461, + "col": 14, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"shine\"" + } + ] + } + ] + }, + { + "id": "0x558a52015bf0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 36478, + "line": 1211, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 36491, + "col": 22, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a52015bc0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36485, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 36491, + "col": 22, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::timingInfoDecoder" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a51530338", + "kind": "EnumConstantDecl", + "name": "SHINE", + "type": { + "qualType": "slsDetectorDefs::timingInfoDecoder" + } + } + } + ] + } + ] + }, + { + "id": "0x558a52016268", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 36502, + "line": 1212, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 36555, + "col": 58, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a52016250", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 36502, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 36555, + "col": 58, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52016228", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 36508, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 36555, + "col": 58, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a52016208", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 36508, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 36555, + "col": 58, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a52016200", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a520161d0", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 36508, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 36555, + "col": 58, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a520161b8", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 36521, + "col": 24, + "tokLen": 30 + }, + "end": { + "offset": 36554, + "col": 57, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a520161a0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36521, + "col": 24, + "tokLen": 30 + }, + "end": { + "offset": 36554, + "col": 57, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a52016180", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 36521, + "col": 24, + "tokLen": 30 + }, + "end": { + "offset": 36554, + "col": 57, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a52016178", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a52016140", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 36521, + "col": 24, + "tokLen": 30 + }, + "end": { + "offset": 36554, + "col": 57, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52016128", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36552, + "col": 55, + "tokLen": 1 + }, + "end": { + "offset": 36552, + "col": 55, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52016108", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36552, + "col": 55, + "tokLen": 1 + }, + "end": { + "offset": 36552, + "col": 55, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a520160f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36521, + "col": 24, + "tokLen": 30 + }, + "end": { + "offset": 36521, + "col": 24, + "tokLen": 30 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52015c30", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 36521, + "col": 24, + "tokLen": 30 + }, + "end": { + "offset": 36521, + "col": 24, + "tokLen": 30 + } + }, + "type": { + "qualType": "const char[29]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown Timing Info Decoder \"" + } + ] + }, + { + "id": "0x558a52015c68", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36554, + "col": 57, + "tokLen": 1 + }, + "end": { + "offset": 36554, + "col": 57, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52013108", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +}, +{ + "id": "0x558a52016430", + "kind": "FunctionDecl", + "loc": { + "offset": 36594, + "file": "ToString.cpp", + "line": 1215, + "col": 34, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 36561, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 36787, + "line": 1221, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bc0450", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIN15slsDetectorDefs14collectionModeEEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "defs::collectionMode (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "slsDetectorDefs::collectionMode" + }, + "inner": [ + { + "id": "0x558a51530430", + "kind": "EnumType", + "type": { + "qualType": "slsDetectorDefs::collectionMode" + }, + "decl": { + "id": "0x558a51530390", + "kind": "EnumDecl", + "name": "collectionMode" + } + } + ] + }, + { + "id": "0x558a52016358", + "kind": "ParmVarDecl", + "loc": { + "offset": 36622, + "line": 1215, + "col": 62, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 36603, + "col": 43, + "tokLen": 5 + }, + "end": { + "offset": 36622, + "col": 62, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a520194c0", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 36625, + "col": 65, + "tokLen": 1 + }, + "end": { + "offset": 36787, + "line": 1221, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52017a20", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 36631, + "line": 1216, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 36669, + "line": 1217, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a52017970", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 36635, + "line": 1216, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 36640, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52017958", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36637, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 36637, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52017938", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36637, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 36637, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a52016618", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36635, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 36635, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52016358", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a52017920", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36640, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 36640, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52016638", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 36640, + "col": 14, + "tokLen": 6 + }, + "end": { + "offset": 36640, + "col": 14, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char[5]" + }, + "valueCategory": "lvalue", + "value": "\"hole\"" + } + ] + } + ] + }, + { + "id": "0x558a52017a10", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 36656, + "line": 1217, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 36669, + "col": 22, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a520179e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36663, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 36669, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "slsDetectorDefs::collectionMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a51530450", + "kind": "EnumConstantDecl", + "name": "HOLE", + "type": { + "qualType": "slsDetectorDefs::collectionMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a52018e50", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 36679, + "line": 1218, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 36721, + "line": 1219, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a52018da0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 36683, + "line": 1218, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 36688, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52018d88", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36685, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 36685, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52018d68", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36685, + "col": 11, + "tokLen": 2 + }, + "end": { + "offset": 36685, + "col": 11, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a52017a40", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36683, + "col": 9, + "tokLen": 1 + }, + "end": { + "offset": 36683, + "col": 9, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52016358", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a52018d50", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36688, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 36688, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52017a60", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 36688, + "col": 14, + "tokLen": 10 + }, + "end": { + "offset": 36688, + "col": 14, + "tokLen": 10 + } + }, + "type": { + "qualType": "const char[9]" + }, + "valueCategory": "lvalue", + "value": "\"electron\"" + } + ] + } + ] + }, + { + "id": "0x558a52018e40", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 36708, + "line": 1219, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 36721, + "col": 22, + "tokLen": 8 + } + }, + "inner": [ + { + "id": "0x558a52018e10", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36715, + "col": 16, + "tokLen": 4 + }, + "end": { + "offset": 36721, + "col": 22, + "tokLen": 8 + } + }, + "type": { + "qualType": "slsDetectorDefs::collectionMode" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a515304a8", + "kind": "EnumConstantDecl", + "name": "ELECTRON", + "type": { + "qualType": "slsDetectorDefs::collectionMode" + } + } + } + ] + } + ] + }, + { + "id": "0x558a520194a8", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 36735, + "line": 1220, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 36784, + "col": 54, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a52019490", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 36735, + "col": 5, + "tokLen": 5 + }, + "end": { + "offset": 36784, + "col": 54, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52019468", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 36741, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 36784, + "col": 54, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a52019448", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 36741, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 36784, + "col": 54, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a52019440", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a52019410", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 36741, + "col": 11, + "tokLen": 12 + }, + "end": { + "offset": 36784, + "col": 54, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a520193f8", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 36754, + "col": 24, + "tokLen": 26 + }, + "end": { + "offset": 36783, + "col": 53, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a520193e0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36754, + "col": 24, + "tokLen": 26 + }, + "end": { + "offset": 36783, + "col": 53, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a520193c0", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 36754, + "col": 24, + "tokLen": 26 + }, + "end": { + "offset": 36783, + "col": 53, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a520193b8", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a52019380", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 36754, + "col": 24, + "tokLen": 26 + }, + "end": { + "offset": 36783, + "col": 53, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52019368", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36781, + "col": 51, + "tokLen": 1 + }, + "end": { + "offset": 36781, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52019348", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36781, + "col": 51, + "tokLen": 1 + }, + "end": { + "offset": 36781, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a52019330", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36754, + "col": 24, + "tokLen": 26 + }, + "end": { + "offset": 36754, + "col": 24, + "tokLen": 26 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52018e80", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 36754, + "col": 24, + "tokLen": 26 + }, + "end": { + "offset": 36754, + "col": 24, + "tokLen": 26 + } + }, + "type": { + "qualType": "const char[25]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown collection mode \"" + } + ] + }, + { + "id": "0x558a52018eb0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36783, + "col": 53, + "tokLen": 1 + }, + "end": { + "offset": 36783, + "col": 53, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52016358", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +}, +{ + "id": "0x558a52019620", + "kind": "FunctionDecl", + "loc": { + "offset": 36810, + "file": "ToString.cpp", + "line": 1223, + "col": 21, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 36790, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 37239, + "line": 1232, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bc13b0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIhEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "uint8_t (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "unsigned char" + }, + "inner": [ + { + "id": "0x558a5015ac50", + "kind": "BuiltinType", + "type": { + "qualType": "unsigned char" + } + } + ] + }, + { + "id": "0x558a52019558", + "kind": "ParmVarDecl", + "loc": { + "offset": 36838, + "line": 1223, + "col": 49, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 36819, + "col": 30, + "tokLen": 5 + }, + "end": { + "offset": 36838, + "col": 49, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a5201e620", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 36841, + "col": 52, + "tokLen": 1 + }, + "end": { + "offset": 37239, + "line": 1232, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a5201d310", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 36847, + "line": 1224, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 36901, + "col": 59, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a520197f0", + "kind": "VarDecl", + "loc": { + "offset": 36851, + "col": 9, + "tokLen": 4 + }, + "range": { + "begin": { + "offset": 36847, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 36899, + "col": 57, + "tokLen": 2 + } + }, + "isUsed": true, + "name": "base", + "type": { + "qualType": "int" + }, + "init": "c", + "inner": [ + { + "id": "0x558a5201d2e0", + "kind": "ConditionalOperator", + "range": { + "begin": { + "offset": 36858, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 36899, + "col": 57, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201d280", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 36858, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 36887, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "!=", + "inner": [ + { + "id": "0x558a5201d140", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 36858, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 36869, + "col": 27, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201d110", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 36858, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 36860, + "col": 18, + "tokLen": 4 + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "find", + "isArrow": false, + "referencedMemberDecl": "0x558a50c9b598", + "inner": [ + { + "id": "0x558a52019858", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36858, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 36858, + "col": 16, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52019558", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + }, + { + "id": "0x558a5201d170", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36865, + "col": 23, + "tokLen": 4 + }, + "end": { + "offset": 36865, + "col": 23, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a520198f0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 36865, + "col": 23, + "tokLen": 4 + }, + "end": { + "offset": 36865, + "col": 23, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"0x\"" + } + ] + }, + { + "id": "0x558a5201d1a0", + "kind": "CXXDefaultArgExpr", + "range": { + "begin": {}, + "end": {} + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201d188", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 101453, + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/bits/basic_string.h", + "line": 2973, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a50b7f990", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a5201d268", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36874, + "file": "ToString.cpp", + "line": 1224, + "col": 32, + "tokLen": 3 + }, + "end": { + "offset": 36887, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a5201d238", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36874, + "col": 32, + "tokLen": 3 + }, + "end": { + "offset": 36887, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "desugaredQualType": "const unsigned long", + "qualType": "const typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a518bd2a0", + "kind": "VarDecl", + "name": "npos", + "type": { + "desugaredQualType": "const unsigned long", + "qualType": "const typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + } + }, + "nonOdrUseReason": "constant" + } + ] + } + ] + }, + { + "id": "0x558a5201d2a0", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 36894, + "col": 52, + "tokLen": 2 + }, + "end": { + "offset": 36894, + "col": 52, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "16" + }, + { + "id": "0x558a5201d2c0", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 36899, + "col": 57, + "tokLen": 2 + }, + "end": { + "offset": 36899, + "col": 57, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "10" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a5201d580", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 36907, + "line": 1225, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 36946, + "col": 44, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a5201d340", + "kind": "VarDecl", + "loc": { + "offset": 36911, + "col": 9, + "tokLen": 5 + }, + "range": { + "begin": { + "offset": 36907, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 36945, + "col": 43, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "value", + "type": { + "qualType": "int" + }, + "init": "c", + "inner": [ + { + "id": "0x558a5201d518", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 36919, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 36945, + "col": 43, + "tokLen": 1 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201d500", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36919, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 36924, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "int (*)(const string &, size_t *, int)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a5201d468", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36919, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 36924, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "int (const string &, size_t *, int)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a50c62038", + "kind": "FunctionDecl", + "name": "stoi", + "type": { + "qualType": "int (const string &, size_t *, int)" + } + } + } + ] + }, + { + "id": "0x558a5201d418", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36929, + "col": 27, + "tokLen": 1 + }, + "end": { + "offset": 36929, + "col": 27, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52019558", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a5201d550", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36932, + "col": 30, + "tokLen": 7 + }, + "end": { + "offset": 36932, + "col": 30, + "tokLen": 7 + } + }, + "type": { + "qualType": "size_t *" + }, + "valueCategory": "prvalue", + "castKind": "NullToPointer", + "inner": [ + { + "id": "0x558a5201d438", + "kind": "CXXNullPtrLiteralExpr", + "range": { + "begin": { + "offset": 36932, + "col": 30, + "tokLen": 7 + }, + "end": { + "offset": 36932, + "col": 30, + "tokLen": 7 + } + }, + "type": { + "qualType": "std::nullptr_t" + }, + "valueCategory": "prvalue" + } + ] + }, + { + "id": "0x558a5201d568", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36941, + "col": 39, + "tokLen": 4 + }, + "end": { + "offset": 36941, + "col": 39, + "tokLen": 4 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a5201d448", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36941, + "col": 39, + "tokLen": 4 + }, + "end": { + "offset": 36941, + "col": 39, + "tokLen": 4 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a520197f0", + "kind": "VarDecl", + "name": "base", + "type": { + "qualType": "int" + } + } + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a5201e560", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 36952, + "line": 1226, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 37197, + "line": 1230, + "col": 5, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a5201d940", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 36956, + "line": 1226, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 37053, + "line": 1227, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a5201d778", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 36956, + "line": 1226, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 36998, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "<", + "inner": [ + { + "id": "0x558a5201d748", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36956, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 36956, + "col": 9, + "tokLen": 5 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a5201d598", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36956, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 36956, + "col": 9, + "tokLen": 5 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5201d340", + "kind": "VarDecl", + "name": "value", + "type": { + "qualType": "int" + } + } + } + ] + }, + { + "id": "0x558a5201d760", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36964, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 36998, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a5201d728", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 36964, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 36998, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "qualType": "unsigned char" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201d710", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 36964, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 36994, + "col": 47, + "tokLen": 3 + } + }, + "type": { + "qualType": "unsigned char (*)() noexcept" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a5201d6e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 36964, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 36994, + "col": 47, + "tokLen": 3 + } + }, + "type": { + "qualType": "unsigned char () noexcept" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a502efe00", + "kind": "CXXMethodDecl", + "name": "min", + "type": { + "qualType": "unsigned char () noexcept" + } + } + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a5201d920", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 37011, + "line": 1227, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 37053, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": ">", + "inner": [ + { + "id": "0x558a5201d8f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37011, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 37011, + "col": 9, + "tokLen": 5 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a5201d798", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37011, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 37011, + "col": 9, + "tokLen": 5 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5201d340", + "kind": "VarDecl", + "name": "value", + "type": { + "qualType": "int" + } + } + } + ] + }, + { + "id": "0x558a5201d908", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37019, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 37053, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a5201d8d0", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 37019, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 37053, + "col": 51, + "tokLen": 1 + } + }, + "type": { + "qualType": "unsigned char" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201d8b8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37019, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 37049, + "col": 47, + "tokLen": 3 + } + }, + "type": { + "qualType": "unsigned char (*)() noexcept" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a5201d888", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37019, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 37049, + "col": 47, + "tokLen": 3 + } + }, + "type": { + "qualType": "unsigned char () noexcept" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a502efed8", + "kind": "CXXMethodDecl", + "name": "max", + "type": { + "qualType": "unsigned char () noexcept" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a5201e548", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 37056, + "col": 54, + "tokLen": 1 + }, + "end": { + "offset": 37197, + "line": 1230, + "col": 5, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a5201e530", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 37066, + "line": 1228, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 37190, + "line": 1229, + "col": 64, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a5201e518", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 37066, + "line": 1228, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 37190, + "line": 1229, + "col": 64, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201e4f0", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 37072, + "line": 1228, + "col": 15, + "tokLen": 12 + }, + "end": { + "offset": 37190, + "line": 1229, + "col": 64, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a5201e4d0", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 37072, + "line": 1228, + "col": 15, + "tokLen": 12 + }, + "end": { + "offset": 37190, + "line": 1229, + "col": 64, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a5201e4c8", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a5201e498", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 37072, + "line": 1228, + "col": 15, + "tokLen": 12 + }, + "end": { + "offset": 37190, + "line": 1229, + "col": 64, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a5201e480", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 37085, + "line": 1228, + "col": 28, + "tokLen": 35 + }, + "end": { + "offset": 37154, + "line": 1229, + "col": 28, + "tokLen": 36 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a5201e468", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37085, + "line": 1228, + "col": 28, + "tokLen": 35 + }, + "end": { + "offset": 37154, + "line": 1229, + "col": 28, + "tokLen": 36 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a5201e448", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 37085, + "line": 1228, + "col": 28, + "tokLen": 35 + }, + "end": { + "offset": 37154, + "line": 1229, + "col": 28, + "tokLen": 36 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a5201e440", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a5201e408", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 37085, + "line": 1228, + "col": 28, + "tokLen": 35 + }, + "end": { + "offset": 37154, + "line": 1229, + "col": 28, + "tokLen": 36 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a5201e3f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37125, + "line": 1228, + "col": 68, + "tokLen": 1 + }, + "end": { + "offset": 37125, + "col": 68, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(basic_string, allocator> &&, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a5201e3d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37125, + "col": 68, + "tokLen": 1 + }, + "end": { + "offset": 37125, + "col": 68, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (basic_string, allocator> &&, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a515d5600", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (basic_string, allocator> &&, const char *)" + } + } + } + ] + }, + { + "id": "0x558a5201e3a0", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 37085, + "col": 28, + "tokLen": 35 + }, + "end": { + "offset": 37123, + "col": 66, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "xvalue", + "storageDuration": "full expression", + "inner": [ + { + "id": "0x558a5201df20", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 37085, + "col": 28, + "tokLen": 35 + }, + "end": { + "offset": 37123, + "col": 66, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a5201df18", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a5201dee0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 37085, + "col": 28, + "tokLen": 35 + }, + "end": { + "offset": 37123, + "col": 66, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a5201dec8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37121, + "col": 64, + "tokLen": 1 + }, + "end": { + "offset": 37121, + "col": 64, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a5201dea8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37121, + "col": 64, + "tokLen": 1 + }, + "end": { + "offset": 37121, + "col": 64, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a5201de90", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37085, + "col": 28, + "tokLen": 35 + }, + "end": { + "offset": 37085, + "col": 28, + "tokLen": 35 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a5201d9d0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 37085, + "col": 28, + "tokLen": 35 + }, + "end": { + "offset": 37085, + "col": 28, + "tokLen": 35 + } + }, + "type": { + "qualType": "const char[34]" + }, + "valueCategory": "lvalue", + "value": "\"Cannot scan uint8_t from string '\"" + } + ] + }, + { + "id": "0x558a5201da10", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37123, + "col": 66, + "tokLen": 1 + }, + "end": { + "offset": 37123, + "col": 66, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52019558", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + }, + { + "id": "0x558a5201e3b8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37154, + "line": 1229, + "col": 28, + "tokLen": 36 + }, + "end": { + "offset": 37154, + "col": 28, + "tokLen": 36 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a5201df40", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 37154, + "col": 28, + "tokLen": 36 + }, + "end": { + "offset": 37154, + "col": 28, + "tokLen": 36 + } + }, + "type": { + "qualType": "const char[35]" + }, + "valueCategory": "lvalue", + "value": "\"'. Value must be in range 0 - 255.\"" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a5201e610", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 37203, + "line": 1231, + "col": 5, + "tokLen": 6 + }, + "end": { + "offset": 37236, + "col": 38, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a5201e5e0", + "kind": "CXXStaticCastExpr", + "range": { + "begin": { + "offset": 37210, + "col": 12, + "tokLen": 11 + }, + "end": { + "offset": 37236, + "col": 38, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "unsigned char", + "qualType": "uint8_t", + "typeAliasDeclId": "0x558a50375a38" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a5201e5c8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37231, + "col": 33, + "tokLen": 5 + }, + "end": { + "offset": 37231, + "col": 33, + "tokLen": 5 + } + }, + "type": { + "desugaredQualType": "unsigned char", + "qualType": "uint8_t", + "typeAliasDeclId": "0x558a50375a38" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "isPartOfExplicitCast": true, + "inner": [ + { + "id": "0x558a5201e5b0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37231, + "col": 33, + "tokLen": 5 + }, + "end": { + "offset": 37231, + "col": 33, + "tokLen": 5 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "isPartOfExplicitCast": true, + "inner": [ + { + "id": "0x558a5201e580", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37231, + "col": 33, + "tokLen": 5 + }, + "end": { + "offset": 37231, + "col": 33, + "tokLen": 5 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5201d340", + "kind": "VarDecl", + "name": "value", + "type": { + "qualType": "int" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +}, +{ + "id": "0x558a5201e790", + "kind": "FunctionDecl", + "loc": { + "offset": 37263, + "file": "ToString.cpp", + "line": 1234, + "col": 22, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 37242, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 37698, + "line": 1243, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bc18c0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToItEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "uint16_t (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "unsigned short" + }, + "inner": [ + { + "id": "0x558a5015ac70", + "kind": "BuiltinType", + "type": { + "qualType": "unsigned short" + } + } + ] + }, + { + "id": "0x558a5201e6c0", + "kind": "ParmVarDecl", + "loc": { + "offset": 37291, + "line": 1234, + "col": 50, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 37272, + "col": 31, + "tokLen": 5 + }, + "end": { + "offset": 37291, + "col": 50, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a520206a0", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 37294, + "col": 53, + "tokLen": 1 + }, + "end": { + "offset": 37698, + "line": 1243, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a5201f498", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 37300, + "line": 1235, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 37354, + "col": 59, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a5201e960", + "kind": "VarDecl", + "loc": { + "offset": 37304, + "col": 9, + "tokLen": 4 + }, + "range": { + "begin": { + "offset": 37300, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 37352, + "col": 57, + "tokLen": 2 + } + }, + "isUsed": true, + "name": "base", + "type": { + "qualType": "int" + }, + "init": "c", + "inner": [ + { + "id": "0x558a5201f468", + "kind": "ConditionalOperator", + "range": { + "begin": { + "offset": 37311, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 37352, + "col": 57, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201f408", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 37311, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 37340, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "!=", + "inner": [ + { + "id": "0x558a5201f2e0", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 37311, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 37322, + "col": 27, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201f2b0", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 37311, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 37313, + "col": 18, + "tokLen": 4 + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "find", + "isArrow": false, + "referencedMemberDecl": "0x558a50c9b598", + "inner": [ + { + "id": "0x558a5201e9c8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37311, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 37311, + "col": 16, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5201e6c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + }, + { + "id": "0x558a5201f310", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37318, + "col": 23, + "tokLen": 4 + }, + "end": { + "offset": 37318, + "col": 23, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a5201ea60", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 37318, + "col": 23, + "tokLen": 4 + }, + "end": { + "offset": 37318, + "col": 23, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"0x\"" + } + ] + }, + { + "id": "0x558a5201f328", + "kind": "CXXDefaultArgExpr", + "range": { + "begin": {}, + "end": {} + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201d188", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 101453, + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/bits/basic_string.h", + "line": 2973, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a50b7f990", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a5201f3f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37327, + "file": "ToString.cpp", + "line": 1235, + "col": 32, + "tokLen": 3 + }, + "end": { + "offset": 37340, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a5201f3c0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37327, + "col": 32, + "tokLen": 3 + }, + "end": { + "offset": 37340, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "desugaredQualType": "const unsigned long", + "qualType": "const typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a518bd2a0", + "kind": "VarDecl", + "name": "npos", + "type": { + "desugaredQualType": "const unsigned long", + "qualType": "const typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + } + }, + "nonOdrUseReason": "constant" + } + ] + } + ] + }, + { + "id": "0x558a5201f428", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 37347, + "col": 52, + "tokLen": 2 + }, + "end": { + "offset": 37347, + "col": 52, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "16" + }, + { + "id": "0x558a5201f448", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 37352, + "col": 57, + "tokLen": 2 + }, + "end": { + "offset": 37352, + "col": 57, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "10" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a5201f6a0", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 37360, + "line": 1236, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 37399, + "col": 44, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a5201f4c8", + "kind": "VarDecl", + "loc": { + "offset": 37364, + "col": 9, + "tokLen": 5 + }, + "range": { + "begin": { + "offset": 37360, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 37398, + "col": 43, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "value", + "type": { + "qualType": "int" + }, + "init": "c", + "inner": [ + { + "id": "0x558a5201f638", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 37372, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 37398, + "col": 43, + "tokLen": 1 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201f620", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37372, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 37377, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "int (*)(const string &, size_t *, int)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a5201f5f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37372, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 37377, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "int (const string &, size_t *, int)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a50c62038", + "kind": "FunctionDecl", + "name": "stoi", + "type": { + "qualType": "int (const string &, size_t *, int)" + } + } + } + ] + }, + { + "id": "0x558a5201f5a0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37382, + "col": 27, + "tokLen": 1 + }, + "end": { + "offset": 37382, + "col": 27, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5201e6c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a5201f670", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37385, + "col": 30, + "tokLen": 7 + }, + "end": { + "offset": 37385, + "col": 30, + "tokLen": 7 + } + }, + "type": { + "qualType": "size_t *" + }, + "valueCategory": "prvalue", + "castKind": "NullToPointer", + "inner": [ + { + "id": "0x558a5201f5c0", + "kind": "CXXNullPtrLiteralExpr", + "range": { + "begin": { + "offset": 37385, + "col": 30, + "tokLen": 7 + }, + "end": { + "offset": 37385, + "col": 30, + "tokLen": 7 + } + }, + "type": { + "qualType": "std::nullptr_t" + }, + "valueCategory": "prvalue" + } + ] + }, + { + "id": "0x558a5201f688", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37394, + "col": 39, + "tokLen": 4 + }, + "end": { + "offset": 37394, + "col": 39, + "tokLen": 4 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a5201f5d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37394, + "col": 39, + "tokLen": 4 + }, + "end": { + "offset": 37394, + "col": 39, + "tokLen": 4 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5201e960", + "kind": "VarDecl", + "name": "base", + "type": { + "qualType": "int" + } + } + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a520205e0", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 37405, + "line": 1237, + "col": 5, + "tokLen": 2 + }, + "end": { + "offset": 37655, + "line": 1241, + "col": 5, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a5201fa50", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 37409, + "line": 1237, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 37508, + "line": 1238, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "||", + "inner": [ + { + "id": "0x558a5201f888", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 37409, + "line": 1237, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 37452, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "<", + "inner": [ + { + "id": "0x558a5201f858", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37409, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 37409, + "col": 9, + "tokLen": 5 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a5201f6b8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37409, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 37409, + "col": 9, + "tokLen": 5 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5201f4c8", + "kind": "VarDecl", + "name": "value", + "type": { + "qualType": "int" + } + } + } + ] + }, + { + "id": "0x558a5201f870", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37417, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 37452, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a5201f838", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 37417, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 37452, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "qualType": "unsigned short" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201f820", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37417, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 37448, + "col": 48, + "tokLen": 3 + } + }, + "type": { + "qualType": "unsigned short (*)() noexcept" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a5201f7f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37417, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 37448, + "col": 48, + "tokLen": 3 + } + }, + "type": { + "qualType": "unsigned short () noexcept" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a504139f0", + "kind": "CXXMethodDecl", + "name": "min", + "type": { + "qualType": "unsigned short () noexcept" + } + } + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a5201fa30", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 37465, + "line": 1238, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 37508, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": ">", + "inner": [ + { + "id": "0x558a5201fa00", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37465, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 37465, + "col": 9, + "tokLen": 5 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a5201f8a8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37465, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 37465, + "col": 9, + "tokLen": 5 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5201f4c8", + "kind": "VarDecl", + "name": "value", + "type": { + "qualType": "int" + } + } + } + ] + }, + { + "id": "0x558a5201fa18", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37473, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 37508, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a5201f9e0", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 37473, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 37508, + "col": 52, + "tokLen": 1 + } + }, + "type": { + "qualType": "unsigned short" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201f9c8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37473, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 37504, + "col": 48, + "tokLen": 3 + } + }, + "type": { + "qualType": "unsigned short (*)() noexcept" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a5201f998", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37473, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 37504, + "col": 48, + "tokLen": 3 + } + }, + "type": { + "qualType": "unsigned short () noexcept" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a50413ac8", + "kind": "CXXMethodDecl", + "name": "max", + "type": { + "qualType": "unsigned short () noexcept" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a520205c8", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 37511, + "col": 55, + "tokLen": 1 + }, + "end": { + "offset": 37655, + "line": 1241, + "col": 5, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a520205b0", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 37521, + "line": 1239, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 37648, + "line": 1240, + "col": 66, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a52020598", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 37521, + "line": 1239, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 37648, + "line": 1240, + "col": 66, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52020570", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 37527, + "line": 1239, + "col": 15, + "tokLen": 12 + }, + "end": { + "offset": 37648, + "line": 1240, + "col": 66, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f84840", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const std::string &)" + } + }, + "inner": [ + { + "id": "0x558a52020550", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 37527, + "line": 1239, + "col": 15, + "tokLen": 12 + }, + "end": { + "offset": 37648, + "line": 1240, + "col": 66, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a52020548", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a52020518", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 37527, + "line": 1239, + "col": 15, + "tokLen": 12 + }, + "end": { + "offset": 37648, + "line": 1240, + "col": 66, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const std::string &)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a52020500", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 37540, + "line": 1239, + "col": 28, + "tokLen": 36 + }, + "end": { + "offset": 37610, + "line": 1240, + "col": 28, + "tokLen": 38 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "lvalue", + "storageDuration": "full expression", + "boundToLValueRef": true, + "inner": [ + { + "id": "0x558a520204e8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37540, + "line": 1239, + "col": 28, + "tokLen": 36 + }, + "end": { + "offset": 37610, + "line": 1240, + "col": 28, + "tokLen": 38 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const basic_string, allocator>" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a520204c8", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 37540, + "line": 1239, + "col": 28, + "tokLen": 36 + }, + "end": { + "offset": 37610, + "line": 1240, + "col": 28, + "tokLen": 38 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a520204c0", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a52020488", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 37540, + "line": 1239, + "col": 28, + "tokLen": 36 + }, + "end": { + "offset": 37610, + "line": 1240, + "col": 28, + "tokLen": 38 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52020470", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37581, + "line": 1239, + "col": 69, + "tokLen": 1 + }, + "end": { + "offset": 37581, + "col": 69, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(basic_string, allocator> &&, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52020450", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37581, + "col": 69, + "tokLen": 1 + }, + "end": { + "offset": 37581, + "col": 69, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (basic_string, allocator> &&, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a515d5600", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (basic_string, allocator> &&, const char *)" + } + } + } + ] + }, + { + "id": "0x558a52020420", + "kind": "MaterializeTemporaryExpr", + "range": { + "begin": { + "offset": 37540, + "col": 28, + "tokLen": 36 + }, + "end": { + "offset": 37579, + "col": 67, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "xvalue", + "storageDuration": "full expression", + "inner": [ + { + "id": "0x558a5201ffa0", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 37540, + "col": 28, + "tokLen": 36 + }, + "end": { + "offset": 37579, + "col": 67, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "temp": "0x558a5201ff98", + "dtor": { + "id": "0x558a50c7fdd8", + "kind": "CXXDestructorDecl", + "name": "~basic_string", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a5201ff60", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 37540, + "col": 28, + "tokLen": 36 + }, + "end": { + "offset": 37579, + "col": 67, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "std::basic_string", + "qualType": "basic_string, allocator>" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a5201ff48", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37577, + "col": 65, + "tokLen": 1 + }, + "end": { + "offset": 37577, + "col": 65, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (*)(const char *, const basic_string, allocator> &)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a5201ff28", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37577, + "col": 65, + "tokLen": 1 + }, + "end": { + "offset": 37577, + "col": 65, + "tokLen": 1 + } + }, + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5156deb0", + "kind": "FunctionDecl", + "name": "operator+", + "type": { + "qualType": "basic_string, allocator> (const char *, const basic_string, allocator> &)" + } + } + } + ] + }, + { + "id": "0x558a5201ff10", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37540, + "col": 28, + "tokLen": 36 + }, + "end": { + "offset": 37540, + "col": 28, + "tokLen": 36 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a5201fa80", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 37540, + "col": 28, + "tokLen": 36 + }, + "end": { + "offset": 37540, + "col": 28, + "tokLen": 36 + } + }, + "type": { + "qualType": "const char[35]" + }, + "valueCategory": "lvalue", + "value": "\"Cannot scan uint16_t from string '\"" + } + ] + }, + { + "id": "0x558a5201fac0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37579, + "col": 67, + "tokLen": 1 + }, + "end": { + "offset": 37579, + "col": 67, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5201e6c0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + } + ] + } + ] + }, + { + "id": "0x558a52020438", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37610, + "line": 1240, + "col": 28, + "tokLen": 38 + }, + "end": { + "offset": 37610, + "col": 28, + "tokLen": 38 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a5201ffc0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 37610, + "col": 28, + "tokLen": 38 + }, + "end": { + "offset": 37610, + "col": 28, + "tokLen": 38 + } + }, + "type": { + "qualType": "const char[37]" + }, + "valueCategory": "lvalue", + "value": "\"'. Value must be in range 0 - 65535.\"" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a52020690", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 37661, + "line": 1242, + "col": 5, + "tokLen": 6 + }, + "end": { + "offset": 37695, + "col": 39, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52020660", + "kind": "CXXStaticCastExpr", + "range": { + "begin": { + "offset": 37668, + "col": 12, + "tokLen": 11 + }, + "end": { + "offset": 37695, + "col": 39, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "unsigned short", + "qualType": "uint16_t", + "typeAliasDeclId": "0x558a50375aa0" + }, + "valueCategory": "prvalue", + "castKind": "NoOp", + "inner": [ + { + "id": "0x558a52020648", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37690, + "col": 34, + "tokLen": 5 + }, + "end": { + "offset": 37690, + "col": 34, + "tokLen": 5 + } + }, + "type": { + "desugaredQualType": "unsigned short", + "qualType": "uint16_t", + "typeAliasDeclId": "0x558a50375aa0" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "isPartOfExplicitCast": true, + "inner": [ + { + "id": "0x558a52020630", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37690, + "col": 34, + "tokLen": 5 + }, + "end": { + "offset": 37690, + "col": 34, + "tokLen": 5 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "isPartOfExplicitCast": true, + "inner": [ + { + "id": "0x558a52020600", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37690, + "col": 34, + "tokLen": 5 + }, + "end": { + "offset": 37690, + "col": 34, + "tokLen": 5 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a5201f4c8", + "kind": "VarDecl", + "name": "value", + "type": { + "qualType": "int" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +}, +{ + "id": "0x558a52020810", + "kind": "FunctionDecl", + "loc": { + "offset": 37722, + "file": "ToString.cpp", + "line": 1245, + "col": 22, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 37701, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 37856, + "line": 1248, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bc1dd0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIjEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "uint32_t (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "unsigned int" + }, + "inner": [ + { + "id": "0x558a5015ac90", + "kind": "BuiltinType", + "type": { + "qualType": "unsigned int" + } + } + ] + }, + { + "id": "0x558a52020740", + "kind": "ParmVarDecl", + "loc": { + "offset": 37750, + "line": 1245, + "col": 50, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 37731, + "col": 31, + "tokLen": 5 + }, + "end": { + "offset": 37750, + "col": 50, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a52021728", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 37753, + "col": 53, + "tokLen": 1 + }, + "end": { + "offset": 37856, + "line": 1248, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52021518", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 37759, + "line": 1246, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 37813, + "col": 59, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a520209e0", + "kind": "VarDecl", + "loc": { + "offset": 37763, + "col": 9, + "tokLen": 4 + }, + "range": { + "begin": { + "offset": 37759, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 37811, + "col": 57, + "tokLen": 2 + } + }, + "isUsed": true, + "name": "base", + "type": { + "qualType": "int" + }, + "init": "c", + "inner": [ + { + "id": "0x558a520214e8", + "kind": "ConditionalOperator", + "range": { + "begin": { + "offset": 37770, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 37811, + "col": 57, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52021488", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 37770, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 37799, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "!=", + "inner": [ + { + "id": "0x558a52021360", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 37770, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 37781, + "col": 27, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52021330", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 37770, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 37772, + "col": 18, + "tokLen": 4 + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "find", + "isArrow": false, + "referencedMemberDecl": "0x558a50c9b598", + "inner": [ + { + "id": "0x558a52020a48", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37770, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 37770, + "col": 16, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52020740", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + }, + { + "id": "0x558a52021390", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37777, + "col": 23, + "tokLen": 4 + }, + "end": { + "offset": 37777, + "col": 23, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52020ae0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 37777, + "col": 23, + "tokLen": 4 + }, + "end": { + "offset": 37777, + "col": 23, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"0x\"" + } + ] + }, + { + "id": "0x558a520213a8", + "kind": "CXXDefaultArgExpr", + "range": { + "begin": {}, + "end": {} + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201d188", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 101453, + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/bits/basic_string.h", + "line": 2973, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a50b7f990", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a52021470", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37786, + "file": "ToString.cpp", + "line": 1246, + "col": 32, + "tokLen": 3 + }, + "end": { + "offset": 37799, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a52021440", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37786, + "col": 32, + "tokLen": 3 + }, + "end": { + "offset": 37799, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "desugaredQualType": "const unsigned long", + "qualType": "const typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a518bd2a0", + "kind": "VarDecl", + "name": "npos", + "type": { + "desugaredQualType": "const unsigned long", + "qualType": "const typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + } + }, + "nonOdrUseReason": "constant" + } + ] + } + ] + }, + { + "id": "0x558a520214a8", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 37806, + "col": 52, + "tokLen": 2 + }, + "end": { + "offset": 37806, + "col": 52, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "16" + }, + { + "id": "0x558a520214c8", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 37811, + "col": 57, + "tokLen": 2 + }, + "end": { + "offset": 37811, + "col": 57, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "10" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a52021718", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 37819, + "line": 1247, + "col": 5, + "tokLen": 6 + }, + "end": { + "offset": 37853, + "col": 39, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52021700", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37826, + "col": 12, + "tokLen": 3 + }, + "end": { + "offset": 37853, + "col": 39, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "unsigned int", + "qualType": "uint32_t", + "typeAliasDeclId": "0x558a50375b08" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a52021698", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 37826, + "col": 12, + "tokLen": 3 + }, + "end": { + "offset": 37853, + "col": 39, + "tokLen": 1 + } + }, + "type": { + "qualType": "unsigned long" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52021680", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37826, + "col": 12, + "tokLen": 3 + }, + "end": { + "offset": 37831, + "col": 17, + "tokLen": 5 + } + }, + "type": { + "qualType": "unsigned long (*)(const string &, size_t *, int)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a520215f0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37826, + "col": 12, + "tokLen": 3 + }, + "end": { + "offset": 37831, + "col": 17, + "tokLen": 5 + } + }, + "type": { + "qualType": "unsigned long (const string &, size_t *, int)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a50cac0f8", + "kind": "FunctionDecl", + "name": "stoul", + "type": { + "qualType": "unsigned long (const string &, size_t *, int)" + } + } + } + ] + }, + { + "id": "0x558a520215a0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37837, + "col": 23, + "tokLen": 1 + }, + "end": { + "offset": 37837, + "col": 23, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52020740", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a520216d0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37840, + "col": 26, + "tokLen": 7 + }, + "end": { + "offset": 37840, + "col": 26, + "tokLen": 7 + } + }, + "type": { + "qualType": "size_t *" + }, + "valueCategory": "prvalue", + "castKind": "NullToPointer", + "inner": [ + { + "id": "0x558a520215c0", + "kind": "CXXNullPtrLiteralExpr", + "range": { + "begin": { + "offset": 37840, + "col": 26, + "tokLen": 7 + }, + "end": { + "offset": 37840, + "col": 26, + "tokLen": 7 + } + }, + "type": { + "qualType": "std::nullptr_t" + }, + "valueCategory": "prvalue" + } + ] + }, + { + "id": "0x558a520216e8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37849, + "col": 35, + "tokLen": 4 + }, + "end": { + "offset": 37849, + "col": 35, + "tokLen": 4 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a520215d0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37849, + "col": 35, + "tokLen": 4 + }, + "end": { + "offset": 37849, + "col": 35, + "tokLen": 4 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a520209e0", + "kind": "VarDecl", + "name": "base", + "type": { + "qualType": "int" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +}, +{ + "id": "0x558a52021880", + "kind": "FunctionDecl", + "loc": { + "offset": 37880, + "file": "ToString.cpp", + "line": 1250, + "col": 22, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 37859, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 38015, + "line": 1253, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bc22a0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToImEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "uint64_t (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "unsigned long" + }, + "inner": [ + { + "id": "0x558a5015acb0", + "kind": "BuiltinType", + "type": { + "qualType": "unsigned long" + } + } + ] + }, + { + "id": "0x558a520217b8", + "kind": "ParmVarDecl", + "loc": { + "offset": 37908, + "line": 1250, + "col": 50, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 37889, + "col": 31, + "tokLen": 5 + }, + "end": { + "offset": 37908, + "col": 50, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a52022798", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 37911, + "col": 53, + "tokLen": 1 + }, + "end": { + "offset": 38015, + "line": 1253, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52022588", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 37917, + "line": 1251, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 37971, + "col": 59, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52021a50", + "kind": "VarDecl", + "loc": { + "offset": 37921, + "col": 9, + "tokLen": 4 + }, + "range": { + "begin": { + "offset": 37917, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 37969, + "col": 57, + "tokLen": 2 + } + }, + "isUsed": true, + "name": "base", + "type": { + "qualType": "int" + }, + "init": "c", + "inner": [ + { + "id": "0x558a52022558", + "kind": "ConditionalOperator", + "range": { + "begin": { + "offset": 37928, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 37969, + "col": 57, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a520224f8", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 37928, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 37957, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "!=", + "inner": [ + { + "id": "0x558a520223d0", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 37928, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 37939, + "col": 27, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a520223a0", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 37928, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 37930, + "col": 18, + "tokLen": 4 + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "find", + "isArrow": false, + "referencedMemberDecl": "0x558a50c9b598", + "inner": [ + { + "id": "0x558a52021ab8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37928, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 37928, + "col": 16, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a520217b8", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + }, + { + "id": "0x558a52022400", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37935, + "col": 23, + "tokLen": 4 + }, + "end": { + "offset": 37935, + "col": 23, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52021b50", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 37935, + "col": 23, + "tokLen": 4 + }, + "end": { + "offset": 37935, + "col": 23, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"0x\"" + } + ] + }, + { + "id": "0x558a52022418", + "kind": "CXXDefaultArgExpr", + "range": { + "begin": {}, + "end": {} + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201d188", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 101453, + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/bits/basic_string.h", + "line": 2973, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a50b7f990", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a520224e0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37944, + "file": "ToString.cpp", + "line": 1251, + "col": 32, + "tokLen": 3 + }, + "end": { + "offset": 37957, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a520224b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37944, + "col": 32, + "tokLen": 3 + }, + "end": { + "offset": 37957, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "desugaredQualType": "const unsigned long", + "qualType": "const typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a518bd2a0", + "kind": "VarDecl", + "name": "npos", + "type": { + "desugaredQualType": "const unsigned long", + "qualType": "const typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + } + }, + "nonOdrUseReason": "constant" + } + ] + } + ] + }, + { + "id": "0x558a52022518", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 37964, + "col": 52, + "tokLen": 2 + }, + "end": { + "offset": 37964, + "col": 52, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "16" + }, + { + "id": "0x558a52022538", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 37969, + "col": 57, + "tokLen": 2 + }, + "end": { + "offset": 37969, + "col": 57, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "10" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a52022788", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 37977, + "line": 1252, + "col": 5, + "tokLen": 6 + }, + "end": { + "offset": 38012, + "col": 40, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52022770", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37984, + "col": 12, + "tokLen": 3 + }, + "end": { + "offset": 38012, + "col": 40, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "uint64_t", + "typeAliasDeclId": "0x558a50375b70" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a52022708", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 37984, + "col": 12, + "tokLen": 3 + }, + "end": { + "offset": 38012, + "col": 40, + "tokLen": 1 + } + }, + "type": { + "qualType": "unsigned long long" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a520226f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37984, + "col": 12, + "tokLen": 3 + }, + "end": { + "offset": 37989, + "col": 17, + "tokLen": 6 + } + }, + "type": { + "qualType": "unsigned long long (*)(const string &, size_t *, int)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52022660", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37984, + "col": 12, + "tokLen": 3 + }, + "end": { + "offset": 37989, + "col": 17, + "tokLen": 6 + } + }, + "type": { + "qualType": "unsigned long long (const string &, size_t *, int)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a50cae278", + "kind": "FunctionDecl", + "name": "stoull", + "type": { + "qualType": "unsigned long long (const string &, size_t *, int)" + } + } + } + ] + }, + { + "id": "0x558a52022610", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 37996, + "col": 24, + "tokLen": 1 + }, + "end": { + "offset": 37996, + "col": 24, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a520217b8", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a52022740", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 37999, + "col": 27, + "tokLen": 7 + }, + "end": { + "offset": 37999, + "col": 27, + "tokLen": 7 + } + }, + "type": { + "qualType": "size_t *" + }, + "valueCategory": "prvalue", + "castKind": "NullToPointer", + "inner": [ + { + "id": "0x558a52022630", + "kind": "CXXNullPtrLiteralExpr", + "range": { + "begin": { + "offset": 37999, + "col": 27, + "tokLen": 7 + }, + "end": { + "offset": 37999, + "col": 27, + "tokLen": 7 + } + }, + "type": { + "qualType": "std::nullptr_t" + }, + "valueCategory": "prvalue" + } + ] + }, + { + "id": "0x558a52022758", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38008, + "col": 36, + "tokLen": 4 + }, + "end": { + "offset": 38008, + "col": 36, + "tokLen": 4 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a52022640", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38008, + "col": 36, + "tokLen": 4 + }, + "end": { + "offset": 38008, + "col": 36, + "tokLen": 4 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52021a50", + "kind": "VarDecl", + "name": "base", + "type": { + "qualType": "int" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +}, +{ + "id": "0x558a520228f8", + "kind": "FunctionDecl", + "loc": { + "offset": 38034, + "file": "ToString.cpp", + "line": 1255, + "col": 17, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 38018, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 38167, + "line": 1258, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bc27b8", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIiEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "int (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "int" + }, + "inner": [ + { + "id": "0x558a5015abf0", + "kind": "BuiltinType", + "type": { + "qualType": "int" + } + } + ] + }, + { + "id": "0x558a52022828", + "kind": "ParmVarDecl", + "loc": { + "offset": 38062, + "line": 1255, + "col": 45, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 38043, + "col": 26, + "tokLen": 5 + }, + "end": { + "offset": 38062, + "col": 45, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a520237a0", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 38065, + "col": 48, + "tokLen": 1 + }, + "end": { + "offset": 38167, + "line": 1258, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52023608", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 38071, + "line": 1256, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 38125, + "col": 59, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52022ad0", + "kind": "VarDecl", + "loc": { + "offset": 38075, + "col": 9, + "tokLen": 4 + }, + "range": { + "begin": { + "offset": 38071, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 38123, + "col": 57, + "tokLen": 2 + } + }, + "isUsed": true, + "name": "base", + "type": { + "qualType": "int" + }, + "init": "c", + "inner": [ + { + "id": "0x558a520235d8", + "kind": "ConditionalOperator", + "range": { + "begin": { + "offset": 38082, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 38123, + "col": 57, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52023578", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 38082, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 38111, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "!=", + "inner": [ + { + "id": "0x558a52023450", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 38082, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 38093, + "col": 27, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52023420", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 38082, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 38084, + "col": 18, + "tokLen": 4 + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "find", + "isArrow": false, + "referencedMemberDecl": "0x558a50c9b598", + "inner": [ + { + "id": "0x558a52022b38", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38082, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 38082, + "col": 16, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52022828", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + }, + { + "id": "0x558a52023480", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38089, + "col": 23, + "tokLen": 4 + }, + "end": { + "offset": 38089, + "col": 23, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52022bd0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 38089, + "col": 23, + "tokLen": 4 + }, + "end": { + "offset": 38089, + "col": 23, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"0x\"" + } + ] + }, + { + "id": "0x558a52023498", + "kind": "CXXDefaultArgExpr", + "range": { + "begin": {}, + "end": {} + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201d188", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 101453, + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/bits/basic_string.h", + "line": 2973, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a50b7f990", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a52023560", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38098, + "file": "ToString.cpp", + "line": 1256, + "col": 32, + "tokLen": 3 + }, + "end": { + "offset": 38111, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a52023530", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38098, + "col": 32, + "tokLen": 3 + }, + "end": { + "offset": 38111, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "desugaredQualType": "const unsigned long", + "qualType": "const typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a518bd2a0", + "kind": "VarDecl", + "name": "npos", + "type": { + "desugaredQualType": "const unsigned long", + "qualType": "const typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + } + }, + "nonOdrUseReason": "constant" + } + ] + } + ] + }, + { + "id": "0x558a52023598", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 38118, + "col": 52, + "tokLen": 2 + }, + "end": { + "offset": 38118, + "col": 52, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "16" + }, + { + "id": "0x558a520235b8", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 38123, + "col": 57, + "tokLen": 2 + }, + "end": { + "offset": 38123, + "col": 57, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "10" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a52023790", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 38131, + "line": 1257, + "col": 5, + "tokLen": 6 + }, + "end": { + "offset": 38164, + "col": 38, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52023728", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 38138, + "col": 12, + "tokLen": 3 + }, + "end": { + "offset": 38164, + "col": 38, + "tokLen": 1 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52023710", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38138, + "col": 12, + "tokLen": 3 + }, + "end": { + "offset": 38143, + "col": 17, + "tokLen": 4 + } + }, + "type": { + "qualType": "int (*)(const string &, size_t *, int)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a520236e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38138, + "col": 12, + "tokLen": 3 + }, + "end": { + "offset": 38143, + "col": 17, + "tokLen": 4 + } + }, + "type": { + "qualType": "int (const string &, size_t *, int)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a50c62038", + "kind": "FunctionDecl", + "name": "stoi", + "type": { + "qualType": "int (const string &, size_t *, int)" + } + } + } + ] + }, + { + "id": "0x558a52023690", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38148, + "col": 22, + "tokLen": 1 + }, + "end": { + "offset": 38148, + "col": 22, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52022828", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a52023760", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38151, + "col": 25, + "tokLen": 7 + }, + "end": { + "offset": 38151, + "col": 25, + "tokLen": 7 + } + }, + "type": { + "qualType": "size_t *" + }, + "valueCategory": "prvalue", + "castKind": "NullToPointer", + "inner": [ + { + "id": "0x558a520236b0", + "kind": "CXXNullPtrLiteralExpr", + "range": { + "begin": { + "offset": 38151, + "col": 25, + "tokLen": 7 + }, + "end": { + "offset": 38151, + "col": 25, + "tokLen": 7 + } + }, + "type": { + "qualType": "std::nullptr_t" + }, + "valueCategory": "prvalue" + } + ] + }, + { + "id": "0x558a52023778", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38160, + "col": 34, + "tokLen": 4 + }, + "end": { + "offset": 38160, + "col": 34, + "tokLen": 4 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a520236c0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38160, + "col": 34, + "tokLen": 4 + }, + "end": { + "offset": 38160, + "col": 34, + "tokLen": 4 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52022ad0", + "kind": "VarDecl", + "name": "base", + "type": { + "qualType": "int" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] +}, +{ + "id": "0x558a52023900", + "kind": "FunctionDecl", + "loc": { + "offset": 38187, + "file": "ToString.cpp", + "line": 1260, + "col": 18, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 38170, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 38271, + "line": 1262, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bc2c90", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIbEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "bool (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "bool" + }, + "inner": [ + { + "id": "0x558a5015ab70", + "kind": "BuiltinType", + "type": { + "qualType": "bool" + } + } + ] + }, + { + "id": "0x558a52023830", + "kind": "ParmVarDecl", + "loc": { + "offset": 38215, + "line": 1260, + "col": 46, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 38196, + "col": 27, + "tokLen": 5 + }, + "end": { + "offset": 38215, + "col": 46, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a52023cb8", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 38218, + "col": 49, + "tokLen": 1 + }, + "end": { + "offset": 38271, + "line": 1262, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52023ca8", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 38224, + "line": 1261, + "col": 5, + "tokLen": 6 + }, + "end": { + "offset": 38268, + "col": 49, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52023c78", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 38231, + "col": 12, + "tokLen": 8 + }, + "end": { + "offset": 38268, + "col": 49, + "tokLen": 1 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52023c60", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38231, + "col": 12, + "tokLen": 8 + }, + "end": { + "offset": 38231, + "col": 12, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool (*)(const std::string &, defs::boolFormat)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52023be0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38231, + "col": 12, + "tokLen": 8 + }, + "end": { + "offset": 38231, + "col": 12, + "tokLen": 8 + } + }, + "type": { + "qualType": "bool (const std::string &, defs::boolFormat)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51bc3260", + "kind": "FunctionDecl", + "name": "StringTo", + "type": { + "qualType": "bool (const std::string &, defs::boolFormat)" + } + } + } + ] + }, + { + "id": "0x558a52023b20", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38240, + "col": 21, + "tokLen": 1 + }, + "end": { + "offset": 38240, + "col": 21, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52023830", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a52023b90", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38243, + "col": 24, + "tokLen": 4 + }, + "end": { + "offset": 38261, + "col": 42, + "tokLen": 7 + } + }, + "type": { + "qualType": "slsDetectorDefs::boolFormat" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5144bdf0", + "kind": "EnumConstantDecl", + "name": "OneZero", + "type": { + "qualType": "slsDetectorDefs::boolFormat" + } + } + } + ] + } + ] + } + ] + } + ] +}, +{ + "id": "0x558a52023ed0", + "kind": "FunctionDecl", + "loc": { + "offset": 38279, + "file": "ToString.cpp", + "line": 1264, + "col": 6, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 38274, + "col": 1, + "tokLen": 4 + }, + "end": { + "offset": 39159, + "line": 1294, + "col": 1, + "tokLen": 1 + } + }, + "isUsed": true, + "previousDecl": "0x558a51bc3260", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN15slsDetectorDefs10boolFormatE", + "type": { + "qualType": "bool (const std::string &, defs::boolFormat)" + }, + "inner": [ + { + "id": "0x558a52023d28", + "kind": "ParmVarDecl", + "loc": { + "offset": 38307, + "line": 1264, + "col": 34, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 38288, + "col": 15, + "tokLen": 5 + }, + "end": { + "offset": 38307, + "col": 34, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a52023df0", + "kind": "ParmVarDecl", + "loc": { + "offset": 38327, + "col": 54, + "tokLen": 6 + }, + "range": { + "begin": { + "offset": 38310, + "col": 37, + "tokLen": 4 + }, + "end": { + "offset": 38327, + "col": 54, + "tokLen": 6 + } + }, + "isUsed": true, + "name": "format", + "type": { + "desugaredQualType": "slsDetectorDefs::boolFormat", + "qualType": "defs::boolFormat" + } + }, + { + "id": "0x558a52029c28", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 38335, + "col": 62, + "tokLen": 1 + }, + "end": { + "offset": 39159, + "line": 1294, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52023fd8", + "kind": "SwitchStmt", + "range": { + "begin": { + "offset": 38341, + "line": 1265, + "col": 5, + "tokLen": 6 + }, + "end": { + "offset": 39157, + "line": 1293, + "col": 5, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52023fc0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38349, + "line": 1265, + "col": 13, + "tokLen": 6 + }, + "end": { + "offset": 38349, + "col": 13, + "tokLen": 6 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a52023fa8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38349, + "col": 13, + "tokLen": 6 + }, + "end": { + "offset": 38349, + "col": 13, + "tokLen": 6 + } + }, + "type": { + "desugaredQualType": "slsDetectorDefs::boolFormat", + "qualType": "defs::boolFormat" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a52023f88", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38349, + "col": 13, + "tokLen": 6 + }, + "end": { + "offset": 38349, + "col": 13, + "tokLen": 6 + } + }, + "type": { + "desugaredQualType": "slsDetectorDefs::boolFormat", + "qualType": "defs::boolFormat" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52023df0", + "kind": "ParmVarDecl", + "name": "format", + "type": { + "desugaredQualType": "slsDetectorDefs::boolFormat", + "qualType": "defs::boolFormat" + } + } + } + ] + } + ] + }, + { + "id": "0x558a52029bf8", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 38357, + "col": 21, + "tokLen": 1 + }, + "end": { + "offset": 39157, + "line": 1293, + "col": 5, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a520240b8", + "kind": "CaseStmt", + "range": { + "begin": { + "offset": 38363, + "line": 1266, + "col": 5, + "tokLen": 4 + }, + "end": { + "offset": 38582, + "line": 1272, + "col": 5, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52024098", + "kind": "ConstantExpr", + "range": { + "begin": { + "offset": 38368, + "line": 1266, + "col": 10, + "tokLen": 4 + }, + "end": { + "offset": 38386, + "col": 28, + "tokLen": 9 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0", + "inner": [ + { + "id": "0x558a52024080", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38368, + "col": 10, + "tokLen": 4 + }, + "end": { + "offset": 38386, + "col": 28, + "tokLen": 9 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a52024050", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38368, + "col": 10, + "tokLen": 4 + }, + "end": { + "offset": 38386, + "col": 28, + "tokLen": 9 + } + }, + "type": { + "qualType": "slsDetectorDefs::boolFormat" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5144bd40", + "kind": "EnumConstantDecl", + "name": "TrueFalse", + "type": { + "qualType": "slsDetectorDefs::boolFormat" + } + } + } + ] + } + ] + }, + { + "id": "0x558a52026a60", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 38397, + "col": 39, + "tokLen": 1 + }, + "end": { + "offset": 38582, + "line": 1272, + "col": 5, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52025498", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 38407, + "line": 1267, + "col": 9, + "tokLen": 2 + }, + "end": { + "offset": 38443, + "line": 1268, + "col": 20, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a52025440", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 38411, + "line": 1267, + "col": 13, + "tokLen": 1 + }, + "end": { + "offset": 38416, + "col": 18, + "tokLen": 6 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52025428", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38413, + "col": 15, + "tokLen": 2 + }, + "end": { + "offset": 38413, + "col": 15, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52025408", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38413, + "col": 15, + "tokLen": 2 + }, + "end": { + "offset": 38413, + "col": 15, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a520240e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38411, + "col": 13, + "tokLen": 1 + }, + "end": { + "offset": 38411, + "col": 13, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52023d28", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a520253f0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38416, + "col": 18, + "tokLen": 6 + }, + "end": { + "offset": 38416, + "col": 18, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52024100", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 38416, + "col": 18, + "tokLen": 6 + }, + "end": { + "offset": 38416, + "col": 18, + "tokLen": 6 + } + }, + "type": { + "qualType": "const char[5]" + }, + "valueCategory": "lvalue", + "value": "\"true\"" + } + ] + } + ] + }, + { + "id": "0x558a52025488", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 38436, + "line": 1268, + "col": 13, + "tokLen": 6 + }, + "end": { + "offset": 38443, + "col": 20, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a52025478", + "kind": "CXXBoolLiteralExpr", + "range": { + "begin": { + "offset": 38443, + "col": 20, + "tokLen": 4 + }, + "end": { + "offset": 38443, + "col": 20, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "value": true + } + ] + } + ] + }, + { + "id": "0x558a52026878", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 38457, + "line": 1269, + "col": 9, + "tokLen": 2 + }, + "end": { + "offset": 38494, + "line": 1270, + "col": 20, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a52026820", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 38461, + "line": 1269, + "col": 13, + "tokLen": 1 + }, + "end": { + "offset": 38466, + "col": 18, + "tokLen": 7 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52026808", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38463, + "col": 15, + "tokLen": 2 + }, + "end": { + "offset": 38463, + "col": 15, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a520267e8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38463, + "col": 15, + "tokLen": 2 + }, + "end": { + "offset": 38463, + "col": 15, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a520254b8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38461, + "col": 13, + "tokLen": 1 + }, + "end": { + "offset": 38461, + "col": 13, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52023d28", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a520267d0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38466, + "col": 18, + "tokLen": 7 + }, + "end": { + "offset": 38466, + "col": 18, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a520254d8", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 38466, + "col": 18, + "tokLen": 7 + }, + "end": { + "offset": 38466, + "col": 18, + "tokLen": 7 + } + }, + "type": { + "qualType": "const char[6]" + }, + "valueCategory": "lvalue", + "value": "\"false\"" + } + ] + } + ] + }, + { + "id": "0x558a52026868", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 38487, + "line": 1270, + "col": 13, + "tokLen": 6 + }, + "end": { + "offset": 38494, + "col": 20, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a52026858", + "kind": "CXXBoolLiteralExpr", + "range": { + "begin": { + "offset": 38494, + "col": 20, + "tokLen": 5 + }, + "end": { + "offset": 38494, + "col": 20, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "value": false + } + ] + } + ] + }, + { + "id": "0x558a52026a48", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 38509, + "line": 1271, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 38575, + "col": 75, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a52026a30", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 38509, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 38575, + "col": 75, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52026a08", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 38515, + "col": 15, + "tokLen": 12 + }, + "end": { + "offset": 38575, + "col": 75, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f849b0", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const char *)" + } + }, + "inner": [ + { + "id": "0x558a520269e8", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 38515, + "col": 15, + "tokLen": 12 + }, + "end": { + "offset": 38575, + "col": 75, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a520269e0", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a520269b0", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 38515, + "col": 15, + "tokLen": 12 + }, + "end": { + "offset": 38575, + "col": 75, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const char *)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a52026998", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38528, + "col": 28, + "tokLen": 47 + }, + "end": { + "offset": 38528, + "col": 28, + "tokLen": 47 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52026910", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 38528, + "col": 28, + "tokLen": 47 + }, + "end": { + "offset": 38528, + "col": 28, + "tokLen": 47 + } + }, + "type": { + "qualType": "const char[46]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown boolean. Expecting 'true' or 'false'.\"" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a52026b40", + "kind": "CaseStmt", + "range": { + "begin": { + "offset": 38588, + "line": 1273, + "col": 5, + "tokLen": 4 + }, + "end": { + "offset": 38795, + "line": 1279, + "col": 5, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52026b20", + "kind": "ConstantExpr", + "range": { + "begin": { + "offset": 38593, + "line": 1273, + "col": 10, + "tokLen": 4 + }, + "end": { + "offset": 38611, + "col": 28, + "tokLen": 5 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "1", + "inner": [ + { + "id": "0x558a52026b08", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38593, + "col": 10, + "tokLen": 4 + }, + "end": { + "offset": 38611, + "col": 28, + "tokLen": 5 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a52026ad8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38593, + "col": 10, + "tokLen": 4 + }, + "end": { + "offset": 38611, + "col": 28, + "tokLen": 5 + } + }, + "type": { + "qualType": "slsDetectorDefs::boolFormat" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5144bd98", + "kind": "EnumConstantDecl", + "name": "OnOff", + "type": { + "qualType": "slsDetectorDefs::boolFormat" + } + } + } + ] + } + ] + }, + { + "id": "0x558a52029468", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 38618, + "col": 35, + "tokLen": 1 + }, + "end": { + "offset": 38795, + "line": 1279, + "col": 5, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52027f18", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 38628, + "line": 1274, + "col": 9, + "tokLen": 2 + }, + "end": { + "offset": 38662, + "line": 1275, + "col": 20, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a52027ec0", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 38632, + "line": 1274, + "col": 13, + "tokLen": 1 + }, + "end": { + "offset": 38637, + "col": 18, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52027ea8", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38634, + "col": 15, + "tokLen": 2 + }, + "end": { + "offset": 38634, + "col": 15, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52027e88", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38634, + "col": 15, + "tokLen": 2 + }, + "end": { + "offset": 38634, + "col": 15, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a52026b68", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38632, + "col": 13, + "tokLen": 1 + }, + "end": { + "offset": 38632, + "col": 13, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52023d28", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a52027e70", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38637, + "col": 18, + "tokLen": 4 + }, + "end": { + "offset": 38637, + "col": 18, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52026b88", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 38637, + "col": 18, + "tokLen": 4 + }, + "end": { + "offset": 38637, + "col": 18, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"on\"" + } + ] + } + ] + }, + { + "id": "0x558a52027f08", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 38655, + "line": 1275, + "col": 13, + "tokLen": 6 + }, + "end": { + "offset": 38662, + "col": 20, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a52027ef8", + "kind": "CXXBoolLiteralExpr", + "range": { + "begin": { + "offset": 38662, + "col": 20, + "tokLen": 4 + }, + "end": { + "offset": 38662, + "col": 20, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "value": true + } + ] + } + ] + }, + { + "id": "0x558a520292e8", + "kind": "IfStmt", + "range": { + "begin": { + "offset": 38676, + "line": 1276, + "col": 9, + "tokLen": 2 + }, + "end": { + "offset": 38711, + "line": 1277, + "col": 20, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a52029290", + "kind": "CXXOperatorCallExpr", + "range": { + "begin": { + "offset": 38680, + "line": 1276, + "col": 13, + "tokLen": 1 + }, + "end": { + "offset": 38685, + "col": 18, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "adl": true, + "inner": [ + { + "id": "0x558a52029278", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38682, + "col": 15, + "tokLen": 2 + }, + "end": { + "offset": 38682, + "col": 15, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (*)(const basic_string, allocator> &, const char *)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a52029258", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38682, + "col": 15, + "tokLen": 2 + }, + "end": { + "offset": 38682, + "col": 15, + "tokLen": 2 + } + }, + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a51b2e6e0", + "kind": "FunctionDecl", + "name": "operator==", + "type": { + "qualType": "bool (const basic_string, allocator> &, const char *)" + } + } + } + ] + }, + { + "id": "0x558a52027f38", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38680, + "col": 13, + "tokLen": 1 + }, + "end": { + "offset": 38680, + "col": 13, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52023d28", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a52029240", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38685, + "col": 18, + "tokLen": 5 + }, + "end": { + "offset": 38685, + "col": 18, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52027f58", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 38685, + "col": 18, + "tokLen": 5 + }, + "end": { + "offset": 38685, + "col": 18, + "tokLen": 5 + } + }, + "type": { + "qualType": "const char[4]" + }, + "valueCategory": "lvalue", + "value": "\"off\"" + } + ] + } + ] + }, + { + "id": "0x558a520292d8", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 38704, + "line": 1277, + "col": 13, + "tokLen": 6 + }, + "end": { + "offset": 38711, + "col": 20, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a520292c8", + "kind": "CXXBoolLiteralExpr", + "range": { + "begin": { + "offset": 38711, + "col": 20, + "tokLen": 5 + }, + "end": { + "offset": 38711, + "col": 20, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "value": false + } + ] + } + ] + }, + { + "id": "0x558a52029450", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 38726, + "line": 1278, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 38788, + "col": 71, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a52029438", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 38726, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 38788, + "col": 71, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52029410", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 38732, + "col": 15, + "tokLen": 12 + }, + "end": { + "offset": 38788, + "col": 71, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f849b0", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const char *)" + } + }, + "inner": [ + { + "id": "0x558a520293f0", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 38732, + "col": 15, + "tokLen": 12 + }, + "end": { + "offset": 38788, + "col": 71, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a520293e8", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a520293b8", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 38732, + "col": 15, + "tokLen": 12 + }, + "end": { + "offset": 38788, + "col": 71, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const char *)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a520293a0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38745, + "col": 28, + "tokLen": 43 + }, + "end": { + "offset": 38745, + "col": 28, + "tokLen": 43 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52029318", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 38745, + "col": 28, + "tokLen": 43 + }, + "end": { + "offset": 38745, + "col": 28, + "tokLen": 43 + } + }, + "type": { + "qualType": "const char[42]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown boolean. Expecting 'on' or 'off'.\"" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a52029548", + "kind": "CaseStmt", + "range": { + "begin": { + "offset": 38801, + "line": 1280, + "col": 5, + "tokLen": 4 + }, + "end": { + "offset": 39083, + "line": 1290, + "col": 5, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52029528", + "kind": "ConstantExpr", + "range": { + "begin": { + "offset": 38806, + "line": 1280, + "col": 10, + "tokLen": 4 + }, + "end": { + "offset": 38824, + "col": 28, + "tokLen": 7 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "2", + "inner": [ + { + "id": "0x558a52029510", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38806, + "col": 10, + "tokLen": 4 + }, + "end": { + "offset": 38824, + "col": 28, + "tokLen": 7 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a520294e0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38806, + "col": 10, + "tokLen": 4 + }, + "end": { + "offset": 38824, + "col": 28, + "tokLen": 7 + } + }, + "type": { + "qualType": "slsDetectorDefs::boolFormat" + }, + "valueCategory": "prvalue", + "referencedDecl": { + "id": "0x558a5144bdf0", + "kind": "EnumConstantDecl", + "name": "OneZero", + "type": { + "qualType": "slsDetectorDefs::boolFormat" + } + } + } + ] + } + ] + }, + { + "id": "0x558a52029a70", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 38833, + "col": 37, + "tokLen": 1 + }, + "end": { + "offset": 39083, + "line": 1290, + "col": 5, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52029748", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 38843, + "line": 1281, + "col": 9, + "tokLen": 3 + }, + "end": { + "offset": 38876, + "col": 42, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52029588", + "kind": "VarDecl", + "loc": { + "offset": 38847, + "col": 13, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 38843, + "col": 9, + "tokLen": 3 + }, + "end": { + "offset": 38875, + "col": 41, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "i", + "type": { + "qualType": "int" + }, + "init": "c", + "inner": [ + { + "id": "0x558a520296f8", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 38851, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 38875, + "col": 41, + "tokLen": 1 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a520296e0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38851, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 38856, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "int (*)(const string &, size_t *, int)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a520296b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38851, + "col": 17, + "tokLen": 3 + }, + "end": { + "offset": 38856, + "col": 22, + "tokLen": 4 + } + }, + "type": { + "qualType": "int (const string &, size_t *, int)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a50c62038", + "kind": "FunctionDecl", + "name": "stoi", + "type": { + "qualType": "int (const string &, size_t *, int)" + } + } + } + ] + }, + { + "id": "0x558a52029660", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38861, + "col": 27, + "tokLen": 1 + }, + "end": { + "offset": 38861, + "col": 27, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52023d28", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a52029730", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38864, + "col": 30, + "tokLen": 7 + }, + "end": { + "offset": 38864, + "col": 30, + "tokLen": 7 + } + }, + "type": { + "qualType": "size_t *" + }, + "valueCategory": "prvalue", + "castKind": "NullToPointer", + "inner": [ + { + "id": "0x558a52029680", + "kind": "CXXNullPtrLiteralExpr", + "range": { + "begin": { + "offset": 38864, + "col": 30, + "tokLen": 7 + }, + "end": { + "offset": 38864, + "col": 30, + "tokLen": 7 + } + }, + "type": { + "qualType": "std::nullptr_t" + }, + "valueCategory": "prvalue" + } + ] + }, + { + "id": "0x558a52029690", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 38873, + "col": 39, + "tokLen": 2 + }, + "end": { + "offset": 38873, + "col": 39, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "10" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a52029798", + "kind": "SwitchStmt", + "range": { + "begin": { + "offset": 38886, + "line": 1282, + "col": 9, + "tokLen": 6 + }, + "end": { + "offset": 39077, + "line": 1289, + "col": 9, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52029780", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 38894, + "line": 1282, + "col": 17, + "tokLen": 1 + }, + "end": { + "offset": 38894, + "col": 17, + "tokLen": 1 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a52029760", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 38894, + "col": 17, + "tokLen": 1 + }, + "end": { + "offset": 38894, + "col": 17, + "tokLen": 1 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52029588", + "kind": "VarDecl", + "name": "i", + "type": { + "qualType": "int" + } + } + } + ] + }, + { + "id": "0x558a52029a48", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 38897, + "col": 20, + "tokLen": 1 + }, + "end": { + "offset": 39077, + "line": 1289, + "col": 9, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52029800", + "kind": "CaseStmt", + "range": { + "begin": { + "offset": 38907, + "line": 1283, + "col": 9, + "tokLen": 4 + }, + "end": { + "offset": 38934, + "line": 1284, + "col": 20, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a520297e0", + "kind": "ConstantExpr", + "range": { + "begin": { + "offset": 38912, + "line": 1283, + "col": 14, + "tokLen": 1 + }, + "end": { + "offset": 38912, + "col": 14, + "tokLen": 1 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0", + "inner": [ + { + "id": "0x558a520297c0", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 38912, + "col": 14, + "tokLen": 1 + }, + "end": { + "offset": 38912, + "col": 14, + "tokLen": 1 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0" + } + ] + }, + { + "id": "0x558a52029838", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 38927, + "line": 1284, + "col": 13, + "tokLen": 6 + }, + "end": { + "offset": 38934, + "col": 20, + "tokLen": 5 + } + }, + "inner": [ + { + "id": "0x558a52029828", + "kind": "CXXBoolLiteralExpr", + "range": { + "begin": { + "offset": 38934, + "col": 20, + "tokLen": 5 + }, + "end": { + "offset": 38934, + "col": 20, + "tokLen": 5 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "value": false + } + ] + } + ] + }, + { + "id": "0x558a52029888", + "kind": "CaseStmt", + "range": { + "begin": { + "offset": 38949, + "line": 1285, + "col": 9, + "tokLen": 4 + }, + "end": { + "offset": 38976, + "line": 1286, + "col": 20, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a52029868", + "kind": "ConstantExpr", + "range": { + "begin": { + "offset": 38954, + "line": 1285, + "col": 14, + "tokLen": 1 + }, + "end": { + "offset": 38954, + "col": 14, + "tokLen": 1 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "1", + "inner": [ + { + "id": "0x558a52029848", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 38954, + "col": 14, + "tokLen": 1 + }, + "end": { + "offset": 38954, + "col": 14, + "tokLen": 1 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "1" + } + ] + }, + { + "id": "0x558a520298c0", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 38969, + "line": 1286, + "col": 13, + "tokLen": 6 + }, + "end": { + "offset": 38976, + "col": 20, + "tokLen": 4 + } + }, + "inner": [ + { + "id": "0x558a520298b0", + "kind": "CXXBoolLiteralExpr", + "range": { + "begin": { + "offset": 38976, + "col": 20, + "tokLen": 4 + }, + "end": { + "offset": 38976, + "col": 20, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "value": true + } + ] + } + ] + }, + { + "id": "0x558a52029a28", + "kind": "DefaultStmt", + "range": { + "begin": { + "offset": 38990, + "line": 1287, + "col": 9, + "tokLen": 7 + }, + "end": { + "offset": 39066, + "line": 1288, + "col": 68, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52029a10", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 39011, + "col": 13, + "tokLen": 5 + }, + "end": { + "offset": 39066, + "col": 68, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a520299f8", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 39011, + "col": 13, + "tokLen": 5 + }, + "end": { + "offset": 39066, + "col": 68, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a520299d0", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 39017, + "col": 19, + "tokLen": 12 + }, + "end": { + "offset": 39066, + "col": 68, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f849b0", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const char *)" + } + }, + "inner": [ + { + "id": "0x558a520299b0", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 39017, + "col": 19, + "tokLen": 12 + }, + "end": { + "offset": 39066, + "col": 68, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a520299a8", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a52029978", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 39017, + "col": 19, + "tokLen": 12 + }, + "end": { + "offset": 39066, + "col": 68, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const char *)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a52029960", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 39030, + "col": 32, + "tokLen": 36 + }, + "end": { + "offset": 39030, + "col": 32, + "tokLen": 36 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a520298e0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 39030, + "col": 32, + "tokLen": 36 + }, + "end": { + "offset": 39030, + "col": 32, + "tokLen": 36 + } + }, + "type": { + "qualType": "const char[35]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown boolean. Expecting 0 or 1.\"" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "0x558a52029bd8", + "kind": "DefaultStmt", + "range": { + "begin": { + "offset": 39089, + "line": 1291, + "col": 5, + "tokLen": 7 + }, + "end": { + "offset": 39150, + "line": 1292, + "col": 53, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52029bc0", + "kind": "ExprWithCleanups", + "range": { + "begin": { + "offset": 39106, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 39150, + "col": 53, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "cleanupsHaveSideEffects": true, + "inner": [ + { + "id": "0x558a52029ba8", + "kind": "CXXThrowExpr", + "range": { + "begin": { + "offset": 39106, + "col": 9, + "tokLen": 5 + }, + "end": { + "offset": 39150, + "col": 53, + "tokLen": 1 + } + }, + "type": { + "qualType": "void" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a52029b80", + "kind": "CXXFunctionalCastExpr", + "range": { + "begin": { + "offset": 39112, + "col": 15, + "tokLen": 12 + }, + "end": { + "offset": 39150, + "col": 53, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "castKind": "ConstructorConversion", + "conversionFunc": { + "id": "0x558a50f849b0", + "kind": "CXXConstructorDecl", + "name": "RuntimeError", + "type": { + "qualType": "void (const char *)" + } + }, + "inner": [ + { + "id": "0x558a52029b60", + "kind": "CXXBindTemporaryExpr", + "range": { + "begin": { + "offset": 39112, + "col": 15, + "tokLen": 12 + }, + "end": { + "offset": 39150, + "col": 53, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "temp": "0x558a52029b58", + "dtor": { + "id": "0x558a50f85298", + "kind": "CXXDestructorDecl", + "name": "~RuntimeError", + "type": { + "qualType": "void () noexcept" + } + }, + "inner": [ + { + "id": "0x558a52029b28", + "kind": "CXXConstructExpr", + "range": { + "begin": { + "offset": 39112, + "col": 15, + "tokLen": 12 + }, + "end": { + "offset": 39150, + "col": 53, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "sls::RuntimeError", + "qualType": "RuntimeError" + }, + "valueCategory": "prvalue", + "ctorType": { + "qualType": "void (const char *)" + }, + "hadMultipleCandidates": true, + "constructionKind": "complete", + "inner": [ + { + "id": "0x558a52029b10", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 39125, + "col": 28, + "tokLen": 25 + }, + "end": { + "offset": 39125, + "col": 28, + "tokLen": 25 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a52029aa0", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 39125, + "col": 28, + "tokLen": 25 + }, + "end": { + "offset": 39125, + "col": 28, + "tokLen": 25 + } + }, + "type": { + "qualType": "const char[24]" + }, + "valueCategory": "lvalue", + "value": "\"Unknown boolean format.\"" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +}, +{ + "id": "0x558a52029d80", + "kind": "FunctionDecl", + "loc": { + "offset": 39182, + "file": "ToString.cpp", + "line": 1296, + "col": 21, + "tokLen": 8 + }, + "range": { + "begin": { + "offset": 39162, + "col": 1, + "tokLen": 8 + }, + "end": { + "offset": 39315, + "line": 1299, + "col": 1, + "tokLen": 1 + } + }, + "previousDecl": "0x558a51bc34a0", + "name": "StringTo", + "mangledName": "_ZN3sls8StringToIlEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", + "type": { + "qualType": "int64_t (const std::string &)" + }, + "inner": [ + { + "kind": "TemplateArgument", + "type": { + "qualType": "long" + }, + "inner": [ + { + "id": "0x558a5015ac10", + "kind": "BuiltinType", + "type": { + "qualType": "long" + } + } + ] + }, + { + "id": "0x558a52029cb0", + "kind": "ParmVarDecl", + "loc": { + "offset": 39210, + "line": 1296, + "col": 49, + "tokLen": 1 + }, + "range": { + "begin": { + "offset": 39191, + "col": 30, + "tokLen": 5 + }, + "end": { + "offset": 39210, + "col": 49, + "tokLen": 1 + } + }, + "isUsed": true, + "name": "s", + "type": { + "qualType": "const std::string &" + } + }, + { + "id": "0x558a5202ac80", + "kind": "CompoundStmt", + "range": { + "begin": { + "offset": 39213, + "col": 52, + "tokLen": 1 + }, + "end": { + "offset": 39315, + "line": 1299, + "col": 1, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a5202aa88", + "kind": "DeclStmt", + "range": { + "begin": { + "offset": 39219, + "line": 1297, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 39273, + "col": 59, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a52029f50", + "kind": "VarDecl", + "loc": { + "offset": 39223, + "col": 9, + "tokLen": 4 + }, + "range": { + "begin": { + "offset": 39219, + "col": 5, + "tokLen": 3 + }, + "end": { + "offset": 39271, + "col": 57, + "tokLen": 2 + } + }, + "isUsed": true, + "name": "base", + "type": { + "qualType": "int" + }, + "init": "c", + "inner": [ + { + "id": "0x558a5202aa58", + "kind": "ConditionalOperator", + "range": { + "begin": { + "offset": 39230, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 39271, + "col": 57, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5202a9f8", + "kind": "BinaryOperator", + "range": { + "begin": { + "offset": 39230, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 39259, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "qualType": "bool" + }, + "valueCategory": "prvalue", + "opcode": "!=", + "inner": [ + { + "id": "0x558a5202a8d0", + "kind": "CXXMemberCallExpr", + "range": { + "begin": { + "offset": 39230, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 39241, + "col": 27, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5202a8a0", + "kind": "MemberExpr", + "range": { + "begin": { + "offset": 39230, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 39232, + "col": 18, + "tokLen": 4 + } + }, + "type": { + "qualType": "" + }, + "valueCategory": "prvalue", + "name": "find", + "isArrow": false, + "referencedMemberDecl": "0x558a50c9b598", + "inner": [ + { + "id": "0x558a52029fb8", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 39230, + "col": 16, + "tokLen": 1 + }, + "end": { + "offset": 39230, + "col": 16, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52029cb0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + } + ] + }, + { + "id": "0x558a5202a900", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 39237, + "col": 23, + "tokLen": 4 + }, + "end": { + "offset": 39237, + "col": 23, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char *" + }, + "valueCategory": "prvalue", + "castKind": "ArrayToPointerDecay", + "inner": [ + { + "id": "0x558a5202a050", + "kind": "StringLiteral", + "range": { + "begin": { + "offset": 39237, + "col": 23, + "tokLen": 4 + }, + "end": { + "offset": 39237, + "col": 23, + "tokLen": 4 + } + }, + "type": { + "qualType": "const char[3]" + }, + "valueCategory": "lvalue", + "value": "\"0x\"" + } + ] + }, + { + "id": "0x558a5202a918", + "kind": "CXXDefaultArgExpr", + "range": { + "begin": {}, + "end": {} + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5201d188", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 101453, + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/bits/basic_string.h", + "line": 2973, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "castKind": "IntegralCast", + "inner": [ + { + "id": "0x558a50b7f990", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + }, + "end": { + "offset": 101453, + "col": 49, + "tokLen": 1, + "includedFrom": { + "file": "/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/string" + } + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "0" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a5202a9e0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 39246, + "file": "ToString.cpp", + "line": 1297, + "col": 32, + "tokLen": 3 + }, + "end": { + "offset": 39259, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "desugaredQualType": "unsigned long", + "qualType": "typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a5202a9b0", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 39246, + "col": 32, + "tokLen": 3 + }, + "end": { + "offset": 39259, + "col": 45, + "tokLen": 4 + } + }, + "type": { + "desugaredQualType": "const unsigned long", + "qualType": "const typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a518bd2a0", + "kind": "VarDecl", + "name": "npos", + "type": { + "desugaredQualType": "const unsigned long", + "qualType": "const typename basic_string, allocator>::size_type", + "typeAliasDeclId": "0x558a50c6cac0" + } + }, + "nonOdrUseReason": "constant" + } + ] + } + ] + }, + { + "id": "0x558a5202aa18", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 39266, + "col": 52, + "tokLen": 2 + }, + "end": { + "offset": 39266, + "col": 52, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "16" + }, + { + "id": "0x558a5202aa38", + "kind": "IntegerLiteral", + "range": { + "begin": { + "offset": 39271, + "col": 57, + "tokLen": 2 + }, + "end": { + "offset": 39271, + "col": 57, + "tokLen": 2 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "value": "10" + } + ] + } + ] + } + ] + }, + { + "id": "0x558a5202ac70", + "kind": "ReturnStmt", + "range": { + "begin": { + "offset": 39279, + "line": 1298, + "col": 5, + "tokLen": 6 + }, + "end": { + "offset": 39312, + "col": 38, + "tokLen": 1 + } + }, + "inner": [ + { + "id": "0x558a5202ac08", + "kind": "CallExpr", + "range": { + "begin": { + "offset": 39286, + "col": 12, + "tokLen": 3 + }, + "end": { + "offset": 39312, + "col": 38, + "tokLen": 1 + } + }, + "type": { + "qualType": "long" + }, + "valueCategory": "prvalue", + "inner": [ + { + "id": "0x558a5202abf0", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 39286, + "col": 12, + "tokLen": 3 + }, + "end": { + "offset": 39291, + "col": 17, + "tokLen": 4 + } + }, + "type": { + "qualType": "long (*)(const string &, size_t *, int)" + }, + "valueCategory": "prvalue", + "castKind": "FunctionToPointerDecay", + "inner": [ + { + "id": "0x558a5202ab60", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 39286, + "col": 12, + "tokLen": 3 + }, + "end": { + "offset": 39291, + "col": 17, + "tokLen": 4 + } + }, + "type": { + "qualType": "long (const string &, size_t *, int)" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a50cab248", + "kind": "FunctionDecl", + "name": "stol", + "type": { + "qualType": "long (const string &, size_t *, int)" + } + } + } + ] + }, + { + "id": "0x558a5202ab10", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 39296, + "col": 22, + "tokLen": 1 + }, + "end": { + "offset": 39296, + "col": 22, + "tokLen": 1 + } + }, + "type": { + "desugaredQualType": "const std::basic_string", + "qualType": "const std::string", + "typeAliasDeclId": "0x558a50689410" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52029cb0", + "kind": "ParmVarDecl", + "name": "s", + "type": { + "qualType": "const std::string &" + } + } + }, + { + "id": "0x558a5202ac40", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 39299, + "col": 25, + "tokLen": 7 + }, + "end": { + "offset": 39299, + "col": 25, + "tokLen": 7 + } + }, + "type": { + "qualType": "size_t *" + }, + "valueCategory": "prvalue", + "castKind": "NullToPointer", + "inner": [ + { + "id": "0x558a5202ab30", + "kind": "CXXNullPtrLiteralExpr", + "range": { + "begin": { + "offset": 39299, + "col": 25, + "tokLen": 7 + }, + "end": { + "offset": 39299, + "col": 25, + "tokLen": 7 + } + }, + "type": { + "qualType": "std::nullptr_t" + }, + "valueCategory": "prvalue" + } + ] + }, + { + "id": "0x558a5202ac58", + "kind": "ImplicitCastExpr", + "range": { + "begin": { + "offset": 39308, + "col": 34, + "tokLen": 4 + }, + "end": { + "offset": 39308, + "col": 34, + "tokLen": 4 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "prvalue", + "castKind": "LValueToRValue", + "inner": [ + { + "id": "0x558a5202ab40", + "kind": "DeclRefExpr", + "range": { + "begin": { + "offset": 39308, + "col": 34, + "tokLen": 4 + }, + "end": { + "offset": 39308, + "col": 34, + "tokLen": 4 + } + }, + "type": { + "qualType": "int" + }, + "valueCategory": "lvalue", + "referencedDecl": { + "id": "0x558a52029f50", + "kind": "VarDecl", + "name": "base", + "type": { + "qualType": "int" + } + } + } + ] + } + ] + } + ] + } + ] + } + ] +} +] \ No newline at end of file diff --git a/slsDetectorSoftware/generator/commands.yaml b/slsDetectorSoftware/generator/commands.yaml index 2fd884845..d6859ae06 100644 --- a/slsDetectorSoftware/generator/commands.yaml +++ b/slsDetectorSoftware/generator/commands.yaml @@ -741,7 +741,7 @@ column: function: setColumn timing: - help: "[auto|trigger|gating|burst_trigger|trigger_gating]\n\tTiming Mode of detector.\n\t[Jungfrau][Moench][Ctb][Gotthard2][Xilinx Ctb] [auto|trigger]\n\t[Mythen3] [auto|trigger|gating|trigger_gating]\n\t[Eiger] [auto|trigger|gating|burst_trigger]" + help: "[auto|trigger|gating|burst_trigger|trigger_gating]\n\tTiming Mode of detector.\n\t[Jungfrau][Moench][Ctb][Gotthard2] [auto|trigger]\n\t[Mythen3][Xilinx Ctb] [auto|trigger|gating|trigger_gating]\n\t[Eiger] [auto|trigger|gating|burst_trigger]" inherit_actions: INTEGER_COMMAND_VEC_ID actions: GET: @@ -1969,7 +1969,7 @@ rx_threads: chipversion: inherit_actions: GET_COMMAND - help: "\n\t[Jungfrau] Returns chip version. Can be 1.0 or 1.1" + help: "\n\t[Jungfrau] Returns chip version as string. For example, 'v1.1' or 'v1.2 Low Noise'" actions: GET: function: getChipVersion diff --git a/slsDetectorSoftware/generator/extended_commands.yaml b/slsDetectorSoftware/generator/extended_commands.yaml index a47bc1582..35a24572c 100644 --- a/slsDetectorSoftware/generator/extended_commands.yaml +++ b/slsDetectorSoftware/generator/extended_commands.yaml @@ -1117,7 +1117,8 @@ chipversion: store_result_in_t: true command_name: chipversion function_alias: chipversion - help: "\n\t[Jungfrau] Returns chip version. Can be 1.0 or 1.1" + help: "\n\t[Jungfrau] Returns chip version as string. For example, 'v1.1' or 'v1.2\ + \ Low Noise'" infer_action: true template: true clearbit: @@ -11347,7 +11348,7 @@ timing: command_name: timing function_alias: timing help: "[auto|trigger|gating|burst_trigger|trigger_gating]\n\tTiming Mode of detector.\n\ - \t[Jungfrau][Moench][Ctb][Gotthard2][Xilinx Ctb] [auto|trigger]\n\t[Mythen3] [auto|trigger|gating|trigger_gating]\n\ + \t[Jungfrau][Moench][Ctb][Gotthard2] [auto|trigger]\n\t[Mythen3][Xilinx Ctb] [auto|trigger|gating|trigger_gating]\n\ \t[Eiger] [auto|trigger|gating|burst_trigger]" infer_action: true template: true diff --git a/slsDetectorSoftware/include/sls/Detector.h b/slsDetectorSoftware/include/sls/Detector.h index b3669a6a3..d55362359 100644 --- a/slsDetectorSoftware/include/sls/Detector.h +++ b/slsDetectorSoftware/include/sls/Detector.h @@ -371,10 +371,10 @@ class Detector { Result getTimingMode(Positions pos = {}) const; /** - * [Jungfrau][Moench][CTB][Gotthard2][Xilinx CTB] - * Options: AUTO_TIMING, TRIGGER_EXPOSURE \n [Mythen3] Options: AUTO_TIMING, - * TRIGGER_EXPOSURE, GATED, TRIGGER_GATED \n [Eiger] Options: AUTO_TIMING, - * TRIGGER_EXPOSURE, GATED, BURST_TRIGGER + * [Jungfrau][Moench][CTB][Gotthard2] + * Options: AUTO_TIMING, TRIGGER_EXPOSURE \n [Mythen3][Xilinx CTB] Options: + * AUTO_TIMING, TRIGGER_EXPOSURE, GATED, TRIGGER_GATED \n [Eiger] Options: + * AUTO_TIMING, TRIGGER_EXPOSURE, GATED, BURST_TRIGGER */ void setTimingMode(defs::timingMode value, Positions pos = {}); @@ -1301,7 +1301,7 @@ class Detector { * ************************************************/ /** [Jungfrau] */ - Result getChipVersion(Positions pos = {}) const; + Result getChipVersion(Positions pos = {}) const; /** [Jungfrau][Moench] */ Result getThresholdTemperature(Positions pos = {}) const; diff --git a/slsDetectorSoftware/src/Caller.cpp b/slsDetectorSoftware/src/Caller.cpp index 3278b0889..c7f6efac9 100644 --- a/slsDetectorSoftware/src/Caller.cpp +++ b/slsDetectorSoftware/src/Caller.cpp @@ -1427,7 +1427,7 @@ std::string Caller::chipversion(int action) { // print help if (action == slsDetectorDefs::HELP_ACTION) { os << R"V0G0N( - [Jungfrau] Returns chip version. Can be 1.0 or 1.1 )V0G0N" + [Jungfrau] Returns chip version as string. For example, 'v1.1' or 'v1.2 Low Noise' )V0G0N" << std::endl; return os.str(); } @@ -13897,8 +13897,8 @@ std::string Caller::timing(int action) { if (action == slsDetectorDefs::HELP_ACTION) { os << R"V0G0N([auto|trigger|gating|burst_trigger|trigger_gating] Timing Mode of detector. - [Jungfrau][Moench][Ctb][Gotthard2][Xilinx Ctb] [auto|trigger] - [Mythen3] [auto|trigger|gating|trigger_gating] + [Jungfrau][Moench][Ctb][Gotthard2] [auto|trigger] + [Mythen3][Xilinx Ctb] [auto|trigger|gating|trigger_gating] [Eiger] [auto|trigger|gating|burst_trigger] )V0G0N" << std::endl; return os.str(); diff --git a/slsDetectorSoftware/src/CallerSpecial.cpp b/slsDetectorSoftware/src/CallerSpecial.cpp index dc2ae8c6c..2ece1cd04 100644 --- a/slsDetectorSoftware/src/CallerSpecial.cpp +++ b/slsDetectorSoftware/src/CallerSpecial.cpp @@ -313,6 +313,8 @@ std::string Caller::versions(int action) { std::string vBebFirmware = "Unknown"; std::string vFeblFirmware = "Unknown"; std::string vFebrFirmware = "Unknown"; + bool jungfrau = false; + std::string vChipVersion = "Unknown"; bool receiver = false; std::string vReceiver = "Unknown"; @@ -323,6 +325,7 @@ std::string Caller::versions(int action) { // shared memory has detectors vType = OutString(det->getDetectorType()); eiger = (det->getDetectorType().squash() == defs::EIGER); + jungfrau = (det->getDetectorType().squash() == defs::JUNGFRAU); receiver = det->getUseReceiverFlag().squash(false); if (receiver) { // cannot connect to receiver @@ -350,6 +353,10 @@ std::string Caller::versions(int action) { vFebrFirmware = OutString(det->getFrontEndFirmwareVersion( defs::FRONT_RIGHT, std::vector{det_id})); } + if (jungfrau) { + vChipVersion = OutString( + det->getChipVersion(std::vector{det_id})); + } } catch (const std::exception &e) { } } @@ -364,6 +371,9 @@ std::string Caller::versions(int action) { } else { os << "\nFirmware : " << vFirmware; } + if (jungfrau) { + os << "\nChip : " << vChipVersion; + } os << "\nServer : " << vServer << "\nKernel : " << vKernel << "\nHardware : " << vHardware; diff --git a/slsDetectorSoftware/src/Detector.cpp b/slsDetectorSoftware/src/Detector.cpp index dde062e27..0e08ce5be 100644 --- a/slsDetectorSoftware/src/Detector.cpp +++ b/slsDetectorSoftware/src/Detector.cpp @@ -616,6 +616,10 @@ std::vector Detector::getTimingModeList() const { return std::vector{defs::AUTO_TIMING, defs::TRIGGER_EXPOSURE, defs::GATED, defs::TRIGGER_GATED}; + case defs::XILINX_CHIPTESTBOARD: + return std::vector{defs::AUTO_TIMING, + defs::TRIGGER_EXPOSURE, + defs::GATED, defs::TRIGGER_GATED}; default: return std::vector{defs::AUTO_TIMING, defs::TRIGGER_EXPOSURE}; @@ -1789,7 +1793,7 @@ void Detector::setTop(bool value, Positions pos) { } // Jungfrau/moench Specific -Result Detector::getChipVersion(Positions pos) const { +Result Detector::getChipVersion(Positions pos) const { return pimpl->Parallel(&Module::getChipVersion, pos); } diff --git a/slsDetectorSoftware/src/Module.cpp b/slsDetectorSoftware/src/Module.cpp index 4c487d6a6..e22d5281b 100644 --- a/slsDetectorSoftware/src/Module.cpp +++ b/slsDetectorSoftware/src/Module.cpp @@ -1851,8 +1851,10 @@ void Module::setTop(bool value) { } // Jungfrau/Moench Specific -double Module::getChipVersion() const { - return (sendToDetector(F_GET_CHIP_VERSION)) / 10.00; +std::string Module::getChipVersion() const { + char retval[MAX_STR_LENGTH]{}; + sendToDetector(F_GET_CHIP_VERSION, nullptr, retval); + return retval; } int Module::getThresholdTemperature() const { diff --git a/slsDetectorSoftware/src/Module.h b/slsDetectorSoftware/src/Module.h index 49d7812ac..ded7c28f8 100644 --- a/slsDetectorSoftware/src/Module.h +++ b/slsDetectorSoftware/src/Module.h @@ -401,7 +401,7 @@ class Module : public virtual slsDetectorDefs { * Jungfrau/Moench Specific * * * * ************************************************/ - double getChipVersion() const; + std::string getChipVersion() const; int getThresholdTemperature() const; void setThresholdTemperature(int val); bool getTemperatureControl() const; diff --git a/slsDetectorSoftware/tests/Caller/test-Caller-chiptestboard.cpp b/slsDetectorSoftware/tests/Caller/test-Caller-chiptestboard.cpp index 214c2ffa8..0808d1099 100644 --- a/slsDetectorSoftware/tests/Caller/test-Caller-chiptestboard.cpp +++ b/slsDetectorSoftware/tests/Caller/test-Caller-chiptestboard.cpp @@ -574,17 +574,15 @@ TEST_CASE("dac", "[.detectorintegration][dacs]") { for (int idac = 0; idac < 18; ++idac) { SECTION("dac " + std::to_string(idac)) { - test_dac_caller(static_cast(idac), "dac", 0); - test_dac_caller(static_cast(idac), "dac", 1200); - test_dac_caller(static_cast(idac), "dac", 1200, - true); - test_dac_caller(static_cast(idac), "dac", -100); + test_dac_caller(static_cast(idac), 0); + test_dac_caller(static_cast(idac), 1200); + test_dac_caller(static_cast(idac), 1200, true); + test_dac_caller(static_cast(idac), -100); // dac name - det.setDacName(static_cast(idac), - "dacname" + std::to_string(idac)); - test_dac_caller(defs::DAC_0, "dacname" + std::to_string(idac), - -100); + std::string dacname_str = "dacname" + std::to_string(idac); + det.setDacName(static_cast(idac), dacname_str); + test_dacname_caller(dacname_str, -100); } REQUIRE_THROWS( caller.call("dac", {std::to_string(idac), "-2"}, -1, PUT)); diff --git a/slsDetectorSoftware/tests/Caller/test-Caller-eiger.cpp b/slsDetectorSoftware/tests/Caller/test-Caller-eiger.cpp index f325d0edd..536cc2cda 100644 --- a/slsDetectorSoftware/tests/Caller/test-Caller-eiger.cpp +++ b/slsDetectorSoftware/tests/Caller/test-Caller-eiger.cpp @@ -126,37 +126,30 @@ TEST_CASE("temp_fpgafr", "[.detectorintegration]") { /* dacs */ -TEST_CASE("Setting and reading back EIGER dacs", - "[.detectorintegration][dacs]") { +TEST_CASE("eiger dac", "[.detectorintegration][dacs]") { // vsvp, vtr, vrf, vrs, vsvn, vtgstv, vcmp_ll, vcmp_lr, vcal, vcmp_rl, // rxb_rb, rxb_lb, vcmp_rr, vcp, vcn, vis, vthreshold Detector det; Caller caller(&det); auto det_type = det.getDetectorType().squash(); if (det_type == defs::EIGER) { - SECTION("vsvp") { test_dac_caller(defs::VSVP, "vsvp", 5); } - SECTION("vtrim") { test_dac_caller(defs::VTRIM, "vtrim", 1200); } - SECTION("vrpreamp") { - test_dac_caller(defs::VRPREAMP, "vrpreamp", 1500); - } - SECTION("vrshaper") { - test_dac_caller(defs::VRSHAPER, "vrshaper", 1510); - } - SECTION("vsvn") { test_dac_caller(defs::VSVN, "vsvn", 3800); } - SECTION("vtgstv") { test_dac_caller(defs::VTGSTV, "vtgstv", 2550); } - SECTION("vcmp_ll") { test_dac_caller(defs::VCMP_LL, "vcmp_ll", 1400); } - SECTION("vcmp_lr") { test_dac_caller(defs::VCMP_LR, "vcmp_lr", 1400); } - SECTION("vcal") { test_dac_caller(defs::VCAL, "vcal", 1400); } - SECTION("vcmp_rl") { test_dac_caller(defs::VCMP_RL, "vcmp_rl", 1400); } - SECTION("rxb_rb") { test_dac_caller(defs::RXB_RB, "rxb_rb", 1400); } - SECTION("rxb_lb") { test_dac_caller(defs::RXB_LB, "rxb_lb", 1400); } - SECTION("vcmp_rr") { test_dac_caller(defs::VCMP_RR, "vcmp_rr", 1400); } - SECTION("vcp") { test_dac_caller(defs::VCP, "vcp", 1400); } - SECTION("vcn") { test_dac_caller(defs::VCN, "vcn", 1400); } - SECTION("vishaper") { - test_dac_caller(defs::VISHAPER, "vishaper", 1400); - } - SECTION("iodelay") { test_dac_caller(defs::IO_DELAY, "iodelay", 1400); } + SECTION("vsvp") { test_dac_caller(defs::VSVP, 5); } + SECTION("vtrim") { test_dac_caller(defs::VTRIM, 1200); } + SECTION("vrpreamp") { test_dac_caller(defs::VRPREAMP, 1500); } + SECTION("vrshaper") { test_dac_caller(defs::VRSHAPER, 1510); } + SECTION("vsvn") { test_dac_caller(defs::VSVN, 3800); } + SECTION("vtgstv") { test_dac_caller(defs::VTGSTV, 2550); } + SECTION("vcmp_ll") { test_dac_caller(defs::VCMP_LL, 1400); } + SECTION("vcmp_lr") { test_dac_caller(defs::VCMP_LR, 1400); } + SECTION("vcal") { test_dac_caller(defs::VCAL, 1400); } + SECTION("vcmp_rl") { test_dac_caller(defs::VCMP_RL, 1400); } + SECTION("rxb_rb") { test_dac_caller(defs::RXB_RB, 1400); } + SECTION("rxb_lb") { test_dac_caller(defs::RXB_LB, 1400); } + SECTION("vcmp_rr") { test_dac_caller(defs::VCMP_RR, 1400); } + SECTION("vcp") { test_dac_caller(defs::VCP, 1400); } + SECTION("vcn") { test_dac_caller(defs::VCN, 1400); } + SECTION("vishaper") { test_dac_caller(defs::VISHAPER, 1400); } + SECTION("iodelay") { test_dac_caller(defs::IO_DELAY, 1400); } SECTION("vthreshold") { // Read out individual vcmp to be able to reset after // the test is done diff --git a/slsDetectorSoftware/tests/Caller/test-Caller-global.cpp b/slsDetectorSoftware/tests/Caller/test-Caller-global.cpp index f2204d154..84ab79e3e 100644 --- a/slsDetectorSoftware/tests/Caller/test-Caller-global.cpp +++ b/slsDetectorSoftware/tests/Caller/test-Caller-global.cpp @@ -8,8 +8,18 @@ #include "tests/globals.h" #include "catch.hpp" +#include namespace sls { +int chipVersionToX10(const std::string &chipVersion) { + static const std::regex versionRegex(R"(v?\s*([0-9]+)\.([0-9]+))", + std::regex::icase); + std::smatch match; + if (!std::regex_search(chipVersion, match, versionRegex)) { + throw sls::RuntimeError("Could not parse chip version: " + chipVersion); + } + return std::stoi(match[1].str()) * 10 + std::stoi(match[2].str()); +} namespace acq = sls::test::acquire; @@ -35,35 +45,34 @@ void test_valid_port_caller(const std::string &command, } } -void test_dac_caller(defs::dacIndex index, const std::string &dacname, - int dacvalue, bool mV) { +void test_dac(defs::dacIndex index, std::string dacname, int dacvalue, + bool mV) { Detector det; Caller caller(&det); - std::string dac = dacname; auto value = std::to_string(dacvalue); auto previous = det.getDAC(index, false); - // chip test board - if (dacname == "dac") { - dac = std::to_string(static_cast(index)); - } { std::ostringstream oss; - std::vector args = {dac, value}; + std::vector args = {dacname, value}; if (mV) args.push_back("mV"); std::cout << "args:" << ToString(args) << std::endl; caller.call("dac", args, -1, PUT, oss); - REQUIRE(oss.str() == std::string("dac ") + dac + " " + value + + REQUIRE(oss.str() == std::string("dac ") + dacname + " " + value + (mV ? " mV\n" : "\n")); } { std::ostringstream oss; - std::vector args = {dac}; + std::vector args = {dacname}; if (mV) args.push_back("mV"); caller.call("dac", args, -1, GET, oss); - REQUIRE(oss.str() == - "dac " + dac + " " + value + (mV ? " mV\n" : "\n")); + { + std::ostringstream oss_expected; + oss_expected << "dac " << dacname << " " << value + << (mV ? " mV" : "") << '\n'; + REQUIRE(oss.str() == oss_expected.str()); + } } // Reset all dacs to previous value for (int i = 0; i != det.size(); ++i) { @@ -71,6 +80,25 @@ void test_dac_caller(defs::dacIndex index, const std::string &dacname, } } +void test_dac_caller(defs::dacIndex index, int dacvalue, bool mV) { + std::string dacname = sls::ToString(index); + // ctb: use only the index for dacname + // so that cli output is not 'dac dac 0' + if (index <= defs::DAC_17) { + dacname = std::to_string(static_cast(index)); + } + test_dac(index, dacname, dacvalue, mV); +} + +void test_dacname_caller(std::string dacname, int dacvalue, bool mV) { + Detector det; + auto detType = det.getDetectorType().squash(defs::GENERIC); + REQUIRE((detType == defs::CHIPTESTBOARD || + detType == defs::XILINX_CHIPTESTBOARD)); + auto index = det.getDacIndex(dacname); + test_dac(index, dacname, dacvalue, mV); +} + void test_onchip_dac_caller(defs::dacIndex index, const std::string &dacname, int dacvalue) { Detector det; diff --git a/slsDetectorSoftware/tests/Caller/test-Caller-global.h b/slsDetectorSoftware/tests/Caller/test-Caller-global.h index c3b35766f..03df70ac5 100644 --- a/slsDetectorSoftware/tests/Caller/test-Caller-global.h +++ b/slsDetectorSoftware/tests/Caller/test-Caller-global.h @@ -8,10 +8,13 @@ #include #include #include +#include #include namespace sls { +int chipVersionToX10(const std::string &chipVersion); + namespace acq = sls::test::acquire; namespace mf = sls::test::master_file; namespace checks = sls::test::checks; @@ -20,8 +23,12 @@ void test_valid_port_caller(const std::string &command, const std::vector &arguments, int detector_id, int action); -void test_dac_caller(slsDetectorDefs::dacIndex index, - const std::string &dacname, int dacvalue, bool mV = false); +void test_dac(defs::dacIndex index, std::string dacname, int dacvalue, + bool mV = false); +void test_dac_caller(slsDetectorDefs::dacIndex index, int dacvalue, + bool mV = false); +void test_dacname_caller(std::string dacname, int dacvalue, bool mV = false); + void test_onchip_dac_caller(slsDetectorDefs::dacIndex index, const std::string &dacname, int dacvalue); diff --git a/slsDetectorSoftware/tests/Caller/test-Caller-gotthard2.cpp b/slsDetectorSoftware/tests/Caller/test-Caller-gotthard2.cpp index f70332e40..8271ef449 100644 --- a/slsDetectorSoftware/tests/Caller/test-Caller-gotthard2.cpp +++ b/slsDetectorSoftware/tests/Caller/test-Caller-gotthard2.cpp @@ -106,8 +106,7 @@ TEST_CASE("timegotthard2", "[.detectorintegration]") { } /* dacs */ -TEST_CASE("Setting and reading back GOTTHARD2 dacs", - "[.detectorintegration][dacs]") { +TEST_CASE("gotthard2 dac", "[.detectorintegration][dacs]") { // vref_h_adc, vb_comp_fe, vb_comp_adc, vcom_cds, // vref_restore, vb_opa_1st, vref_comp_fe, vcom_adc1, // vref_prech, vref_l_adc, vref_cds, vb_cs, @@ -117,46 +116,20 @@ TEST_CASE("Setting and reading back GOTTHARD2 dacs", Caller caller(&det); auto det_type = det.getDetectorType().squash(); if (det_type == defs::GOTTHARD2) { - SECTION("vref_h_adc") { - test_dac_caller(defs::VREF_H_ADC, "vref_h_adc", 2099); - } - SECTION("vb_comp_fe") { - test_dac_caller(defs::VB_COMP_FE, "vb_comp_fe", 0); - } - SECTION("vb_comp_adc") { - test_dac_caller(defs::VB_COMP_ADC, "vb_comp_adc", 0); - } - SECTION("vcom_cds") { - test_dac_caller(defs::VCOM_CDS, "vcom_cds", 1400); - } - SECTION("vref_rstore") { - test_dac_caller(defs::VREF_RSTORE, "vref_rstore", 640); - } - SECTION("vb_opa_1st") { - test_dac_caller(defs::VB_OPA_1ST, "vb_opa_1st", 0); - } - SECTION("vref_comp_fe") { - test_dac_caller(defs::VREF_COMP_FE, "vref_comp_fe", 0); - } - SECTION("vcom_adc1") { - test_dac_caller(defs::VCOM_ADC1, "vcom_adc1", 1400); - } - SECTION("vref_prech") { - test_dac_caller(defs::VREF_PRECH, "vref_prech", 1720); - } - SECTION("vref_l_adc") { - test_dac_caller(defs::VREF_L_ADC, "vref_l_adc", 700); - } - SECTION("vref_cds") { - test_dac_caller(defs::VREF_CDS, "vref_cds", 1200); - } - SECTION("vb_cs") { test_dac_caller(defs::VB_CS, "vb_cs", 2799); } - SECTION("vb_opa_fd") { - test_dac_caller(defs::VB_OPA_FD, "vb_opa_fd", 0); - } - SECTION("vcom_adc2") { - test_dac_caller(defs::VCOM_ADC2, "vcom_adc2", 1400); - } + SECTION("vref_h_adc") { test_dac_caller(defs::VREF_H_ADC, 2099); } + SECTION("vb_comp_fe") { test_dac_caller(defs::VB_COMP_FE, 0); } + SECTION("vb_comp_adc") { test_dac_caller(defs::VB_COMP_ADC, 0); } + SECTION("vcom_cds") { test_dac_caller(defs::VCOM_CDS, 1400); } + SECTION("vref_rstore") { test_dac_caller(defs::VREF_RSTORE, 640); } + SECTION("vb_opa_1st") { test_dac_caller(defs::VB_OPA_1ST, 0); } + SECTION("vref_comp_fe") { test_dac_caller(defs::VREF_COMP_FE, 0); } + SECTION("vcom_adc1") { test_dac_caller(defs::VCOM_ADC1, 1400); } + SECTION("vref_prech") { test_dac_caller(defs::VREF_PRECH, 1720); } + SECTION("vref_l_adc") { test_dac_caller(defs::VREF_L_ADC, 700); } + SECTION("vref_cds") { test_dac_caller(defs::VREF_CDS, 1200); } + SECTION("vb_cs") { test_dac_caller(defs::VB_CS, 2799); } + SECTION("vb_opa_fd") { test_dac_caller(defs::VB_OPA_FD, 0); } + SECTION("vcom_adc2") { test_dac_caller(defs::VCOM_ADC2, 1400); } // eiger REQUIRE_THROWS(caller.call("dac", {"vthreshold"}, -1, GET)); REQUIRE_THROWS(caller.call("dac", {"vsvp"}, -1, GET)); diff --git a/slsDetectorSoftware/tests/Caller/test-Caller-jungfrau.cpp b/slsDetectorSoftware/tests/Caller/test-Caller-jungfrau.cpp index 629757728..08bb564b0 100644 --- a/slsDetectorSoftware/tests/Caller/test-Caller-jungfrau.cpp +++ b/slsDetectorSoftware/tests/Caller/test-Caller-jungfrau.cpp @@ -17,30 +17,21 @@ using test::PUT; /* dacs */ -TEST_CASE("Setting and reading back Jungfrau dacs", - "[.detectorintegration][dacs]") { +TEST_CASE("jungfrau dac", "[.detectorintegration][dacs]") { // vb_comp, vdd_prot, vin_com, vref_prech, vb_pixbuf, vb_ds, vref_ds, // vref_comp Detector det; Caller caller(&det); auto det_type = det.getDetectorType().squash(); if (det_type == defs::JUNGFRAU) { - SECTION("vb_comp") { test_dac_caller(defs::VB_COMP, "vb_comp", 1220); } - SECTION("vdd_prot") { - test_dac_caller(defs::VDD_PROT, "vdd_prot", 3000); - } - SECTION("vin_com") { test_dac_caller(defs::VIN_COM, "vin_com", 1053); } - SECTION("vref_prech") { - test_dac_caller(defs::VREF_PRECH, "vref_prech", 1450); - } - SECTION("vb_pixbuf") { - test_dac_caller(defs::VB_PIXBUF, "vb_pixbuf", 750); - } - SECTION("vb_ds") { test_dac_caller(defs::VB_DS, "vb_ds", 1000); } - SECTION("vref_ds") { test_dac_caller(defs::VREF_DS, "vref_ds", 480); } - SECTION("vref_comp") { - test_dac_caller(defs::VREF_COMP, "vref_comp", 420); - } + SECTION("vb_comp") { test_dac_caller(defs::VB_COMP, 1220); } + SECTION("vdd_prot") { test_dac_caller(defs::VDD_PROT, 3000); } + SECTION("vin_com") { test_dac_caller(defs::VIN_COM, 1053); } + SECTION("vref_prech") { test_dac_caller(defs::VREF_PRECH, 1450); } + SECTION("vb_pixbuf") { test_dac_caller(defs::VB_PIXBUF, 750); } + SECTION("vb_ds") { test_dac_caller(defs::VB_DS, 1000); } + SECTION("vref_ds") { test_dac_caller(defs::VREF_DS, 480); } + SECTION("vref_comp") { test_dac_caller(defs::VREF_COMP, 420); } // eiger REQUIRE_THROWS(caller.call("vthreshold", {}, -1, GET)); REQUIRE_THROWS(caller.call("vsvp", {}, -1, GET)); @@ -285,8 +276,9 @@ TEST_CASE("extrastoragecells", "[.detectorintegration]") { Caller caller(&det); auto det_type = det.getDetectorType().squash(); if (det_type == defs::JUNGFRAU) { - // chip version 1.0 - if (det.getChipVersion().squash() * 10 == 10) { + auto chipVersion = chipVersionToX10(det.getChipVersion().squash()); + // chip version 1.0 and 1.2 + if (chipVersion == 10 || chipVersion == 12) { auto prev_val = det.getNumberOfAdditionalStorageCells().tsquash( "inconsistent #additional storage cells to test"); { @@ -334,8 +326,9 @@ TEST_CASE("storagecell_start", "[.detectorintegration]") { caller.call("storagecell_start", {"1"}, -1, PUT, oss); REQUIRE(oss.str() == "storagecell_start 1\n"); } - // chip version 1.0 - if (det.getChipVersion().squash() * 10 == 10) { + auto chipVersion = chipVersionToX10(det.getChipVersion().squash()); + // chip version 1.0 and chip version 1.2 + if (chipVersion == 10 || chipVersion == 12) { std::ostringstream oss; caller.call("storagecell_start", {"15"}, -1, PUT, oss); REQUIRE(oss.str() == "storagecell_start 15\n"); @@ -373,8 +366,9 @@ TEST_CASE("storagecell_delay", "[.detectorintegration]") { Caller caller(&det); auto det_type = det.getDetectorType().squash(); if (det_type == defs::JUNGFRAU) { - // chip version 1.0 - if (det.getChipVersion().squash() * 10 == 10) { + // chip version 1.0 and 1.2 + auto chipVersion = chipVersionToX10(det.getChipVersion().squash()); + if (chipVersion == 10 || chipVersion == 12) { auto prev_val = det.getStorageCellDelay(); { std::ostringstream oss; @@ -464,7 +458,7 @@ TEST_CASE("filtercells", "[.detectorintegration]") { auto det_type = det.getDetectorType().squash(); if (det_type == defs::JUNGFRAU) { // chip version 1.1 - if (det.getChipVersion().squash() * 10 == 11) { + if (chipVersionToX10(det.getChipVersion().squash()) == 11) { auto prev_val = det.getNumberOfFilterCells(); { std::ostringstream oss; @@ -491,7 +485,7 @@ TEST_CASE("filtercells", "[.detectorintegration]") { det.setNumberOfFilterCells(prev_val[i], {i}); } } - // chip version 1.0 + // chip version 1.0 and 1.2 else { // cannot set/get filter cell REQUIRE_THROWS(caller.call("filtercells", {"1"}, -1, PUT)); @@ -521,10 +515,12 @@ TEST_CASE("pedestalmode", "[.detectorintegration]") { REQUIRE_THROWS(caller.call("pedestalmode", {"256", "10"}, -1, PUT)); REQUIRE_THROWS(caller.call("pedestalmode", {"-1", "10"}, 0, PUT)); - REQUIRE_THROWS(caller.call("pedestalmode", {"20", "1000"}, 0, PUT)); + REQUIRE_THROWS(caller.call("pedestalmode", {"20", "65536"}, 0, PUT)); REQUIRE_THROWS(caller.call("pedestalmode", {"2000", "100"}, 0, PUT)); REQUIRE_THROWS(caller.call("pedestalmode", {"20", "-1"}, 0, PUT)); + REQUIRE_NOTHROW(caller.call("pedestalmode", {"20", "4000"}, 0, PUT)); + { std::ostringstream oss; caller.call("pedestalmode", {"30", "100"}, -1, PUT, oss); diff --git a/slsDetectorSoftware/tests/Caller/test-Caller-moench.cpp b/slsDetectorSoftware/tests/Caller/test-Caller-moench.cpp index 4a4a93e3f..ac8bd0bbc 100644 --- a/slsDetectorSoftware/tests/Caller/test-Caller-moench.cpp +++ b/slsDetectorSoftware/tests/Caller/test-Caller-moench.cpp @@ -17,30 +17,21 @@ using test::PUT; /* dacs */ -TEST_CASE("Setting and reading back moench dacs", - "[.detectorintegration][dacs]") { +TEST_CASE("moench dac", "[.detectorintegration][dacs]") { // vbp_colbuf, vipre, vin_cm, vb_sda, vcasc_sfp, vout_cm, vipre_cds, // ibias_sfp Detector det; Caller caller(&det); auto det_type = det.getDetectorType().squash(); if (det_type == defs::MOENCH) { - SECTION("vbp_colbuf") { - test_dac_caller(defs::VBP_COLBUF, "vbp_colbuf", 1300); - } - SECTION("vipre") { test_dac_caller(defs::VIPRE, "vipre", 1000); } - SECTION("vin_cm") { test_dac_caller(defs::VIN_CM, "vin_cm", 1400); } - SECTION("vb_sda") { test_dac_caller(defs::VB_SDA, "vb_sda", 680); } - SECTION("vcasc_sfp") { - test_dac_caller(defs::VCASC_SFP, "vcasc_sfp", 1428); - } - SECTION("vout_cm") { test_dac_caller(defs::VOUT_CM, "vout_cm", 1200); } - SECTION("vipre_cds") { - test_dac_caller(defs::VIPRE_CDS, "vipre_cds", 800); - } - SECTION("ibias_sfp") { - test_dac_caller(defs::IBIAS_SFP, "ibias_sfp", 900); - } + SECTION("vbp_colbuf") { test_dac_caller(defs::VBP_COLBUF, 1300); } + SECTION("vipre") { test_dac_caller(defs::VIPRE, 1000); } + SECTION("vin_cm") { test_dac_caller(defs::VIN_CM, 1400); } + SECTION("vb_sda") { test_dac_caller(defs::VB_SDA, 680); } + SECTION("vcasc_sfp") { test_dac_caller(defs::VCASC_SFP, 1428); } + SECTION("vout_cm") { test_dac_caller(defs::VOUT_CM, 1200); } + SECTION("vipre_cds") { test_dac_caller(defs::VIPRE_CDS, 800); } + SECTION("ibias_sfp") { test_dac_caller(defs::IBIAS_SFP, 900); } // eiger REQUIRE_THROWS(caller.call("vthreshold", {}, -1, GET)); REQUIRE_THROWS(caller.call("vsvp", {}, -1, GET)); diff --git a/slsDetectorSoftware/tests/Caller/test-Caller-mythen3.cpp b/slsDetectorSoftware/tests/Caller/test-Caller-mythen3.cpp index 35345699f..3cd6e8432 100644 --- a/slsDetectorSoftware/tests/Caller/test-Caller-mythen3.cpp +++ b/slsDetectorSoftware/tests/Caller/test-Caller-mythen3.cpp @@ -19,8 +19,7 @@ using test::PUT; /* dacs */ -TEST_CASE("Setting and reading back MYTHEN3 dacs", - "[.detectorintegration][dacs]") { +TEST_CASE("mythen3 dac", "[.detectorintegration][dacs]") { // vcassh, vth2, vshaper, vshaperneg, vipre_out, vth3, vth1, // vicin, vcas, vpreamp, vpl, vipre, viinsh, vph, vtrim, vdcsh, @@ -28,32 +27,22 @@ TEST_CASE("Setting and reading back MYTHEN3 dacs", Caller caller(&det); auto det_type = det.getDetectorType().squash(); if (det_type == defs::MYTHEN3) { - SECTION("vcassh") { test_dac_caller(defs::VCASSH, "vcassh", 1200); } - SECTION("vth2") { test_dac_caller(defs::VTH2, "vth2", 2800); } - SECTION("vrshaper") { - test_dac_caller(defs::VRSHAPER, "vrshaper", 1280); - } - SECTION("vrshaper_n") { - test_dac_caller(defs::VRSHAPER_N, "vrshaper_n", 2800); - } - SECTION("vipre_out") { - test_dac_caller(defs::VIPRE_OUT, "vipre_out", 1220); - } - SECTION("vth3") { test_dac_caller(defs::VTH3, "vth3", 2800); } - SECTION("vth1") { test_dac_caller(defs::VTH1, "vth1", 2880); } - SECTION("vicin") { test_dac_caller(defs::VICIN, "vicin", 1708); } - SECTION("vcas") { test_dac_caller(defs::VCAS, "vcas", 1800); } - SECTION("vrpreamp") { - test_dac_caller(defs::VRPREAMP, "vrpreamp", 1100); - } - SECTION("vcal_n") { test_dac_caller(defs::VCAL_N, "vcal_n", 1100); } - SECTION("vipre") { test_dac_caller(defs::VIPRE, "vipre", 2624); } - SECTION("vishaper") { - test_dac_caller(defs::VISHAPER, "vishaper", 1708); - } - SECTION("vcal_p") { test_dac_caller(defs::VCAL_P, "vcal_p", 1712); } - SECTION("vtrim") { test_dac_caller(defs::VTRIM, "vtrim", 2800); } - SECTION("vdcsh") { test_dac_caller(defs::VDCSH, "vdcsh", 800); } + SECTION("vcassh") { test_dac_caller(defs::VCASSH, 1200); } + SECTION("vth2") { test_dac_caller(defs::VTH2, 2800); } + SECTION("vrshaper") { test_dac_caller(defs::VRSHAPER, 1280); } + SECTION("vrshaper_n") { test_dac_caller(defs::VRSHAPER_N, 2800); } + SECTION("vipre_out") { test_dac_caller(defs::VIPRE_OUT, 1220); } + SECTION("vth3") { test_dac_caller(defs::VTH3, 2800); } + SECTION("vth1") { test_dac_caller(defs::VTH1, 2880); } + SECTION("vicin") { test_dac_caller(defs::VICIN, 1708); } + SECTION("vcas") { test_dac_caller(defs::VCAS, 1800); } + SECTION("vrpreamp") { test_dac_caller(defs::VRPREAMP, 1100); } + SECTION("vcal_n") { test_dac_caller(defs::VCAL_N, 1100); } + SECTION("vipre") { test_dac_caller(defs::VIPRE, 2624); } + SECTION("vishaper") { test_dac_caller(defs::VISHAPER, 1708); } + SECTION("vcal_p") { test_dac_caller(defs::VCAL_P, 1712); } + SECTION("vtrim") { test_dac_caller(defs::VTRIM, 2800); } + SECTION("vdcsh") { test_dac_caller(defs::VDCSH, 800); } SECTION("vthreshold") { // Read out individual vcmp to be able to reset after // the test is done diff --git a/slsDetectorSoftware/tests/Caller/test-Caller-rx.cpp b/slsDetectorSoftware/tests/Caller/test-Caller-rx.cpp index 80d7e322d..9aceec20a 100644 --- a/slsDetectorSoftware/tests/Caller/test-Caller-rx.cpp +++ b/slsDetectorSoftware/tests/Caller/test-Caller-rx.cpp @@ -469,6 +469,341 @@ TEST_CASE("rx_arping", "[.detectorintegration]") { } } } + +void test_rx_roi_2d_multi_horizontal_ports(Detector &det, Caller &caller) { + auto det_type = det.getDetectorType().squash(); + auto portSize = det.getPortSize()[0]; + int delta = 50; + auto two_ports = (det_type == defs::EIGER); + + // setting roi at boundary of 2nd port + { + std::string min = std::to_string(portSize.x); + std::string max = std::to_string(portSize.x + 1); + std::string arg_port1 = "[5, 10, 20, 30]"; + std::string arg_port2 = "[" + min + ", " + max + ", 20, 30]"; + std::string res = "rx_roi [" + arg_port1 + ", " + arg_port2 + "]\n"; + + // separated by space is allowed + REQUIRE_NOTHROW(caller.call("rx_roi", {arg_port1, arg_port2}, -1, PUT)); + // separated by semicolon with quotes is allowed (skips cmdParser) + std::ostringstream oss; + REQUIRE_NOTHROW( + caller.call("rx_roi", {arg_port1 + ";" + arg_port2}, -1, PUT, oss)); + REQUIRE(oss.str() == res); + } + // setting to only one port and verify individual roi + { + std::string arg = "[5, 10, 20, 30]"; + std::string no_roi = "[0, 0, 0, 0]"; + std::string res_mod0 = "rx_roi [" + arg + "]\n"; + std::string res_mod1 = "rx_roi [" + no_roi + "]\n"; + if (two_ports) { + res_mod0 = "rx_roi [" + arg + ", " + no_roi + "]\n"; + res_mod1 = "rx_roi [" + no_roi + ", " + no_roi + "]\n"; + } + + REQUIRE_NOTHROW(caller.call("rx_roi", {arg}, -1, PUT)); + // single or first module + std::ostringstream oss; + REQUIRE_NOTHROW(caller.call("rx_roi", {}, 0, GET, oss)); + REQUIRE(oss.str() == res_mod0); + // second module + if (det.size() > 1) { + std::ostringstream oss; + REQUIRE_NOTHROW(caller.call("rx_roi", {}, 1, GET, oss)); + REQUIRE(oss.str() == res_mod1); + } + } + // setting multiple port roi and verify individual roi + { + std::string min = std::to_string(portSize.x - delta); + std::string max = std::to_string(portSize.x + delta); + std::string arg = "[" + min + ", " + max + ", 20, 30]"; + // for each port + std::string max_port1 = std::to_string(portSize.x - 1); + std::string arg_port1 = "[" + min + ", " + max_port1 + ", 20, 30]"; + std::string max_port2 = std::to_string(delta); + std::string arg_port2 = "[0, " + max_port2 + ", 20, 30]"; + + std::string res_all = "rx_roi [" + arg + "]\n"; + std::string res_mod0 = "rx_roi [" + arg_port1 + "]\n"; + if (two_ports) { + res_mod0 = "rx_roi [" + arg_port1 + ", " + arg_port2 + "]\n"; + } + + REQUIRE_NOTHROW(caller.call("rx_roi", {arg}, -1, PUT)); + // verify multi roi + std::ostringstream oss; + REQUIRE_NOTHROW(caller.call("rx_roi", {}, -1, GET, oss)); + REQUIRE(oss.str() == res_all); + // verify 1st module + std::ostringstream oss1; + REQUIRE_NOTHROW(caller.call("rx_roi", {}, 0, GET, oss1)); + REQUIRE(oss1.str() == res_mod0); + } +} + +void test_rx_roi_2d_multi_vertical_ports(Detector &det, Caller &caller) { + auto det_type = det.getDetectorType().squash(); + auto portSize = det.getPortSize()[0]; + int delta = 50; + int numinterfaces = det.getNumberofUDPInterfaces().tsquash( + "inconsistent number of interfaces"); + auto two_ports = + ((det_type == defs::JUNGFRAU || det_type == defs::MOENCH) && + (numinterfaces == 2)) || + (det_type == defs::EIGER); + + // setting roi at boundary of 2nd port + { + std::string min = std::to_string(portSize.y); + std::string max = std::to_string(portSize.y + 1); + std::string arg_port1 = "[5, 10, 20, 30]"; + std::string arg_port2 = "[25, 28, " + min + ", " + max + "]"; + std::string res = "rx_roi [" + arg_port1 + ", " + arg_port2 + "]\n"; + + // separated by space is allowed + REQUIRE_NOTHROW(caller.call("rx_roi", {arg_port1, arg_port2}, -1, PUT)); + // separated by semicolon is allowed with quotes (skips cmdParser) + std::ostringstream oss; + REQUIRE_NOTHROW( + caller.call("rx_roi", {arg_port1 + ";" + arg_port2}, -1, PUT, oss)); + REQUIRE(oss.str() == res); + } + + // setting to only one port roi and verify individual roi + { + std::string arg = "[5, 10, 20, 30]"; + std::string no_roi = "[0, 0, 0, 0]"; + std::string res_mod0 = "rx_roi [" + arg + "]\n"; + std::string res_mod1 = "rx_roi [" + no_roi + "]\n"; + if (two_ports) { + res_mod0 = "rx_roi [" + arg + ", " + no_roi + "]\n"; + res_mod1 = "rx_roi [" + no_roi + ", " + no_roi + "]\n"; + } + + REQUIRE_NOTHROW(caller.call("rx_roi", {arg}, -1, PUT)); + // single or first module + std::ostringstream oss; + REQUIRE_NOTHROW(caller.call("rx_roi", {}, 0, GET, oss)); + REQUIRE(oss.str() == res_mod0); + // second module + if (det.size() > 1) { + std::ostringstream oss; + REQUIRE_NOTHROW(caller.call("rx_roi", {}, 1, GET, oss)); + REQUIRE(oss.str() == res_mod1); + } + } + // setting multiple ports and verify individual roi + { + std::string min = std::to_string(portSize.y - delta); + std::string max = std::to_string(portSize.y + delta); + std::string arg = "[20, 30, " + min + ", " + max + "]"; + // for each port + std::string max_port1 = std::to_string(portSize.y - 1); + std::string arg_port1 = "[20, 30, " + min + ", " + max_port1 + "]"; + std::string max_port2 = std::to_string(delta); + std::string arg_port2 = "[20, 30, 0, " + max_port2 + "]"; + + std::string res_all = "rx_roi [" + arg + "]\n"; + std::string res_mod0 = "rx_roi [" + arg_port1 + "]\n"; + if (two_ports) { + res_mod0 = "rx_roi [" + arg_port1 + ", " + arg_port2 + "]\n"; + } + + REQUIRE_NOTHROW(caller.call("rx_roi", {arg}, -1, PUT)); + // verify multi roi + std::ostringstream oss; + REQUIRE_NOTHROW(caller.call("rx_roi", {}, -1, GET, oss)); + REQUIRE(oss.str() == res_all); + // verify both ports of 1st module + std::ostringstream oss1; + REQUIRE_NOTHROW(caller.call("rx_roi", {}, 0, GET, oss1)); + REQUIRE(oss1.str() == res_mod0); + } +} + +void test_rx_roi_1d(Detector &det, Caller &caller) { + defs::xy detsize = det.getDetectorSize(); + int delta = 50; + + { + std::ostringstream oss; + caller.call("rx_roi", {"5", "10"}, -1, PUT, oss); + REQUIRE(oss.str() == "rx_roi [[5, 10]]\n"); + } + { + std::ostringstream oss; + caller.call("rx_roi", {"10", "15"}, -1, PUT, oss); + REQUIRE(oss.str() == "rx_roi [[10, 15]]\n"); + } + REQUIRE_THROWS(caller.call("rx_roi", {"0", "0"}, -1, PUT)); + REQUIRE_THROWS(caller.call("rx_roi", {"-1", "-1"}, -1, PUT)); + // xmin > xmax + REQUIRE_THROWS(caller.call("rx_roi", {"[12, 8, -1, -1]"}, -1, PUT)); + // outside detector bounds + REQUIRE_THROWS(caller.call( + "rx_roi", {"[95," + std::to_string(detsize.x + 5) + ", -1, -1]"}, -1, + PUT)); + // module level not allowed + REQUIRE_THROWS(caller.call("rx_roi", {"[5, 10, -1, -1]"}, 0, PUT)); + + // vector of rois + // square brackets missing + REQUIRE_THROWS( + caller.call("rx_roi", {"[5, 20, -1, -1]; 25, 30, -1, -1]"}, -1, PUT)); + REQUIRE_THROWS( + caller.call("rx_roi", {"[5, 20, -1, -1]; [25, 30, -1, -1"}, -1, PUT)); + // invalid roi, 4 parts expected + REQUIRE_THROWS( + caller.call("rx_roi", {"[5, 20, -1] [25, 30, -1, -1]"}, -1, PUT)); + // overlapping rois + REQUIRE_THROWS( + caller.call("rx_roi", {"[0, 10,-1, -1] [5, 15, -1, -1]"}, -1, PUT)); + + auto moduleSize = det.getModuleSize()[0]; + + // setting roi at boundary of 2nd module + if (det.size() == 2) { + std::string min = std::to_string(moduleSize.x); + std::string max = std::to_string(moduleSize.x + 1); + std::string arg_mod1 = "[5, 10]"; + std::string arg_mod2 = "[" + min + ", " + max + "]"; + std::string res = "rx_roi [" + arg_mod1 + ", " + arg_mod2 + "]\n"; + + // separated by space is allowed + REQUIRE_NOTHROW(caller.call("rx_roi", {arg_mod1, arg_mod2}, -1, PUT)); + std::ostringstream oss; + // separated by semicolon with quotes is allowed (skips cmdParser) + REQUIRE_NOTHROW( + caller.call("rx_roi", {arg_mod1 + ";" + arg_mod2}, -1, PUT, oss)); + REQUIRE(oss.str() == res); + } + // setting to only one module and verify individual roi + { + std::string arg = "[5, 10]"; + std::string no_roi = "[0, 0]"; + std::string res_mod0 = "rx_roi [" + arg + "]\n"; + std::string res_mod1 = "rx_roi [" + no_roi + "]\n"; + + REQUIRE_NOTHROW(caller.call("rx_roi", {arg}, -1, PUT)); + // first module + std::ostringstream oss; + REQUIRE_NOTHROW(caller.call("rx_roi", {}, 0, GET, oss)); + REQUIRE(oss.str() == res_mod0); + // second module + if (det.size() > 1) { + std::ostringstream oss; + REQUIRE_NOTHROW(caller.call("rx_roi", {}, 1, GET, oss)); + REQUIRE(oss.str() == res_mod1); + } + } + // setting multiple module roi and verify individual roi + if (det.size() == 2) { + std::string min = std::to_string(moduleSize.x - delta); + std::string max = std::to_string(moduleSize.x + delta); + std::string arg = "[" + min + ", " + max + "]"; + // for each module + std::string max_mod0 = std::to_string(moduleSize.x - 1); + std::string arg_mod0 = "[" + min + ", " + max_mod0 + "]"; + std::string max_mod1 = std::to_string(delta); + std::string arg_mod1 = "[0, " + max_mod1 + "]"; + + std::string res_all = "rx_roi [" + arg + "]\n"; + std::string res_mod0 = "rx_roi [" + arg_mod0 + "]\n"; + std::string res_mod1 = "rx_roi [" + arg_mod1 + "]\n"; + + REQUIRE_NOTHROW(caller.call("rx_roi", {arg}, -1, PUT)); + // verify multi roi + std::ostringstream oss; + REQUIRE_NOTHROW(caller.call("rx_roi", {}, -1, GET, oss)); + REQUIRE(oss.str() == res_all); + // verify 1st module + std::ostringstream oss1; + REQUIRE_NOTHROW(caller.call("rx_roi", {}, 0, GET, oss1)); + REQUIRE(oss1.str() == res_mod0); + // verify 1st module + std::ostringstream oss2; + REQUIRE_NOTHROW(caller.call("rx_roi", {}, 1, GET, oss2)); + REQUIRE(oss2.str() == res_mod1); + } +} + +void test_rx_roi_2d(Detector &det, Caller &caller) { + auto det_type = det.getDetectorType().squash(); + defs::xy detsize = det.getDetectorSize(); + int numinterfaces = det.getNumberofUDPInterfaces().tsquash( + "inconsistent number of interfaces"); + std::string maxx = std::to_string(detsize.x - 5); + std::string maxy = std::to_string(detsize.y - 5); + + { + std::ostringstream oss; + caller.call("rx_roi", {"10", "15", "1", "5"}, -1, PUT, oss); + REQUIRE(oss.str() == "rx_roi [[10, 15, 1, 5]]\n"); + } + { + std::ostringstream oss; + caller.call("rx_roi", {"10", "22", "18", "19"}, -1, PUT, oss); + REQUIRE(oss.str() == "rx_roi [[10, 22, 18, 19]]\n"); + } + { + std::ostringstream oss; + caller.call("rx_roi", {"1", maxx, "1", maxy}, -1, PUT, oss); + auto res = "rx_roi [[1, " + maxx + ", 1, " + maxy + "]]\n"; + REQUIRE(oss.str() == res); + } + REQUIRE_THROWS(caller.call("rx_roi", {"0", "0", "0", "0"}, -1, PUT)); + REQUIRE_THROWS(caller.call("rx_roi", {"-1", "-1", "-1", "-1"}, -1, PUT)); + // xmin > xmax + REQUIRE_THROWS(caller.call("rx_roi", {"[12, 8, 0, 10]"}, -1, PUT)); + // ymin > ymax + REQUIRE_THROWS(caller.call("rx_roi", {"[0, 10, 20, 5]"}, -1, PUT)); + // outside detector bounds + REQUIRE_THROWS(caller.call( + "rx_roi", {"[95," + std::to_string(detsize.x + 5) + ", 0, 10]"}, -1, + PUT)); + REQUIRE_THROWS(caller.call( + "rx_roi", {"[95, 100, 0, " + std::to_string(detsize.y + 5) + "]"}, -1, + PUT)); + // module level not allowed + REQUIRE_THROWS(caller.call("rx_roi", {"[5, 10, 20, 30]"}, 0, PUT)); + + // vector of rois + // square brackets missing + REQUIRE_THROWS( + caller.call("rx_roi", {"[5, 20, 20, 30]; 25, 30, 14, 15]"}, -1, PUT)); + REQUIRE_THROWS( + caller.call("rx_roi", {"[5, 20, 20, 30]; [25, 30, 14, 15"}, -1, PUT)); + // invalid roi, 4 parts expected + REQUIRE_THROWS( + caller.call("rx_roi", {"[5, 20, 20] [25, 30, 14, 15]"}, -1, PUT)); + // overlapping rois + REQUIRE_THROWS( + caller.call("rx_roi", {"[0, 10, 0, 10] [5, 15, 0, 10]"}, -1, PUT)); + REQUIRE_THROWS( + caller.call("rx_roi", {"[0, 10, 0, 10] [0, 10, 9, 11]"}, -1, PUT)); + + bool multiple_ports_horizontally = + (det_type == defs::EIGER || + (det.size() > 1 && det.getModuleGeometry().x > 1)); + + bool multiple_ports_vertically = + (((det_type == defs::JUNGFRAU || det_type == defs::MOENCH) && + (numinterfaces == 2)) || + (det.size() > 1 && det.getModuleGeometry().y > 1)); + + if (multiple_ports_horizontally) { + test_rx_roi_2d_multi_horizontal_ports(det, caller); + } else if (multiple_ports_vertically) { + test_rx_roi_2d_multi_vertical_ports(det, caller); + } else { + // valid roi before acquiring + REQUIRE_NOTHROW(caller.call("rx_roi", {"1", maxx, "1", maxy}, -1, PUT)); + } +} + TEST_CASE("rx_roi", "[.detectorintegration][.disable_check_data_file]") { Detector det; Caller caller(&det); @@ -478,365 +813,19 @@ TEST_CASE("rx_roi", "[.detectorintegration][.disable_check_data_file]") { REQUIRE_THROWS(caller.call("rx_roi", {"5", "10"}, -1, PUT)); } else { auto prev_val = det.getRxROI(); - defs::xy detsize = det.getDetectorSize(); - auto portSize = det.getPortSize()[0]; - int delta = 50; - int numinterfaces = det.getNumberofUDPInterfaces().tsquash( - "inconsistent number of interfaces"); + bool oneD = (det_type == defs::GOTTHARD2 || det_type == defs::MYTHEN3); + // 2d = Jungfrau, moench, eiger - // 1d - if (det_type == defs::GOTTHARD2 || det_type == defs::MYTHEN3) { - { - std::ostringstream oss; - caller.call("rx_roi", {"5", "10"}, -1, PUT, oss); - REQUIRE(oss.str() == "rx_roi [[5, 10]]\n"); - } - { - std::ostringstream oss; - caller.call("rx_roi", {"10", "15"}, -1, PUT, oss); - REQUIRE(oss.str() == "rx_roi [[10, 15]]\n"); - } - REQUIRE_THROWS(caller.call("rx_roi", {"0", "0"}, -1, PUT)); - REQUIRE_THROWS(caller.call("rx_roi", {"-1", "-1"}, -1, PUT)); - // xmin > xmax - REQUIRE_THROWS(caller.call("rx_roi", {"[12, 8, -1, -1]"}, -1, PUT)); - // outside detector bounds - REQUIRE_THROWS(caller.call( - "rx_roi", - {"[95," + std::to_string(detsize.x + 5) + ", -1, -1]"}, -1, - PUT)); - // module level not allowed - REQUIRE_THROWS(caller.call("rx_roi", {"[5, 10, -1, -1]"}, 0, PUT)); - - // vector of rois - // square brackets missing - REQUIRE_THROWS(caller.call( - "rx_roi", {"[5, 20, -1, -1]; 25, 30, -1, -1]"}, -1, PUT)); - REQUIRE_THROWS(caller.call( - "rx_roi", {"[5, 20, -1, -1]; [25, 30, -1, -1"}, -1, PUT)); - // invalid roi, 4 parts expected - REQUIRE_THROWS(caller.call( - "rx_roi", {"[5, 20, -1] [25, 30, -1, -1]"}, -1, PUT)); - // overlapping rois - REQUIRE_THROWS(caller.call( - "rx_roi", {"[0, 10,-1, -1] [5, 15, -1, -1]"}, -1, PUT)); - - if (det.size() == 2) { - auto moduleSize = det.getModuleSize()[0]; - std::string stringMin = std::to_string(moduleSize.x); - std::string stringMax = std::to_string(moduleSize.x + 1); - - // separated by space is allowed - REQUIRE_NOTHROW(caller.call( - "rx_roi", - {"[5, 10, -1, -1]", - "[" + stringMin + ", " + stringMax + ", -1, -1]"}, - -1, PUT)); - std::ostringstream oss; - // separated by semicolon with quotes is allowed (skips - // cmdParser) - REQUIRE_NOTHROW(caller.call("rx_roi", - {"[5, 10, -1, -1];[" + stringMin + - ", " + stringMax + ", -1, -1]"}, - -1, PUT, oss)); - REQUIRE(oss.str() == "rx_roi [[5, 10], [" + stringMin + ", " + - stringMax + "]]\n"); - - // setting to only one port and verify individual roi - { - REQUIRE_NOTHROW( - caller.call("rx_roi", {"[5, 10, -1, -1]"}, -1, PUT)); - std::ostringstream oss, oss1; - REQUIRE_NOTHROW(caller.call("rx_roi", {}, 0, GET, oss)); - REQUIRE_NOTHROW(caller.call("rx_roi", {}, 1, GET, oss1)); - REQUIRE(oss.str() == "rx_roi [[5, 10]]\n"); - REQUIRE(oss1.str() == "rx_roi [[0, 0]]\n"); - } - // verify individual roi - { - stringMin = std::to_string(moduleSize.x - 50); - stringMax = std::to_string(moduleSize.x + 50); - std::ostringstream oss, oss1; - REQUIRE_NOTHROW(caller.call( - "rx_roi", {"[" + stringMin + ", " + stringMax + "]"}, - -1, PUT, oss)); - REQUIRE(oss.str() == "rx_roi [[" + stringMin + ", " + - stringMax + "]]\n"); - REQUIRE_NOTHROW(caller.call("rx_roi", {}, 0, GET, oss1)); - REQUIRE(oss1.str() == "rx_roi [[" + stringMin + ", " + - std::to_string(moduleSize.x - 1) + - "]]\n"); - } - } - // valid roi before acquiring - else { - std::ostringstream oss; - caller.call("rx_roi", {"10", "15"}, -1, PUT, oss); - REQUIRE(oss.str() == "rx_roi [[10, 15]]\n"); - } - } - // 2d eiger, jungfrau, moench - else { - { - std::ostringstream oss; - caller.call("rx_roi", {"10", "15", "1", "5"}, -1, PUT, oss); - REQUIRE(oss.str() == "rx_roi [[10, 15, 1, 5]]\n"); - } - { - std::ostringstream oss; - caller.call("rx_roi", {"10", "22", "18", "19"}, -1, PUT, oss); - REQUIRE(oss.str() == "rx_roi [[10, 22, 18, 19]]\n"); - } - { - std::ostringstream oss; - caller.call("rx_roi", - {"1", std::to_string(detsize.x - 5), "1", - std::to_string(detsize.y - 5)}, - -1, PUT, oss); - REQUIRE(oss.str() == std::string("rx_roi [[1, ") + - std::to_string(detsize.x - 5) + - std::string(", 1, ") + - std::to_string(detsize.y - 5) + - std::string("]]\n")); - } - REQUIRE_THROWS( - caller.call("rx_roi", {"0", "0", "0", "0"}, -1, PUT)); - REQUIRE_THROWS( - caller.call("rx_roi", {"-1", "-1", "-1", "-1"}, -1, PUT)); - // xmin > xmax - REQUIRE_THROWS(caller.call("rx_roi", {"[12, 8, 0, 10]"}, -1, PUT)); - // ymin > ymax - REQUIRE_THROWS(caller.call("rx_roi", {"[0, 10, 20, 5]"}, -1, PUT)); - // outside detector bounds - REQUIRE_THROWS(caller.call( - "rx_roi", {"[95," + std::to_string(detsize.x + 5) + ", 0, 10]"}, - -1, PUT)); - REQUIRE_THROWS(caller.call( - "rx_roi", - {"[95, 100, 0, " + std::to_string(detsize.y + 5) + "]"}, -1, - PUT)); - // module level not allowed - REQUIRE_THROWS(caller.call("rx_roi", {"[5, 10, 20, 30]"}, 0, PUT)); - - // vector of rois - // square brackets missing - REQUIRE_THROWS(caller.call( - "rx_roi", {"[5, 20, 20, 30]; 25, 30, 14, 15]"}, -1, PUT)); - REQUIRE_THROWS(caller.call( - "rx_roi", {"[5, 20, 20, 30]; [25, 30, 14, 15"}, -1, PUT)); - // invalid roi, 4 parts expected - REQUIRE_THROWS(caller.call( - "rx_roi", {"[5, 20, 20] [25, 30, 14, 15]"}, -1, PUT)); - // overlapping rois - REQUIRE_THROWS(caller.call( - "rx_roi", {"[0, 10, 0, 10] [5, 15, 0, 10]"}, -1, PUT)); - REQUIRE_THROWS(caller.call( - "rx_roi", {"[0, 10, 0, 10] [0, 10, 9, 11]"}, -1, PUT)); - - // multiple ports horizontally - if (det_type == defs::EIGER || - (det.size() == 2 && det.getModuleGeometry().x > 1)) { - std::string stringMin = std::to_string(portSize.x); - std::string stringMax = std::to_string(portSize.x + 1); - - // separated by space is allowed - REQUIRE_NOTHROW(caller.call( - "rx_roi", - {"[5, 10, 20, 30]", - "[" + stringMin + ", " + stringMax + ", 20, 30]"}, - -1, PUT)); - std::ostringstream oss; - // separated by semicolon with quotes is allowed (skips - // cmdParser) - REQUIRE_NOTHROW(caller.call("rx_roi", - {"[5, 10, 20, 30];[" + stringMin + - ", " + stringMax + ", 20, 30]"}, - -1, PUT, oss)); - REQUIRE(oss.str() == "rx_roi [[5, 10, 20, 30], [" + stringMin + - ", " + stringMax + ", 20, 30]]\n"); - - // setting to only one port and verify individual roi - { - REQUIRE_NOTHROW( - caller.call("rx_roi", {"[5, 10, 20, 30]"}, -1, PUT)); - std::ostringstream oss, oss1; - REQUIRE_NOTHROW(caller.call("rx_roi", {}, 0, GET, oss)); - // eiger returns 2 values for 2 ports per module - if (det_type == defs::EIGER) { - REQUIRE(oss.str() == - "rx_roi [[5, 10, 20, 30], [0, 0, 0, 0]]\n"); - - } - // others return only 1 roi per module (1 port per module) - else { - REQUIRE(oss.str() == "rx_roi [[5, 10, 20, 30]]\n"); - } - if (det.size() > 1) { - REQUIRE_NOTHROW( - caller.call("rx_roi", {}, 1, GET, oss1)); - // eiger returns 2 values for 2 ports per module - if (det_type == defs::EIGER) { - REQUIRE(oss1.str() == - "rx_roi [[0, 0, 0, 0], [0, 0, 0, 0]]\n"); - - } - // others return only 1 roi per module (1 port per - // module) - else { - REQUIRE(oss1.str() == "rx_roi [[0, 0, 0, 0]]\n"); - } - } - } - // verify individual roi - { - stringMin = std::to_string(portSize.x - delta); - stringMax = std::to_string(portSize.x + delta); - std::ostringstream oss, oss1; - REQUIRE_NOTHROW(caller.call( - "rx_roi", - {"[" + stringMin + ", " + stringMax + ", 20, 30]"}, -1, - PUT, oss)); - REQUIRE(oss.str() == "rx_roi [[" + stringMin + ", " + - stringMax + ", 20, 30]]\n"); - REQUIRE_NOTHROW(caller.call("rx_roi", {}, 0, GET, oss1)); - // eiger returns 2 values for 2 ports per module - if (det_type == defs::EIGER) { - REQUIRE(oss1.str() == - "rx_roi [[" + stringMin + ", " + - std::to_string(portSize.x - 1) + - ", 20, 30], [0, " + std::to_string(delta) + - ", 20, 30]]\n"); - } - // others return only 1 roi per module (1 port per module) - else { - REQUIRE(oss1.str() == - "rx_roi [[" + stringMin + ", " + - std::to_string(portSize.x - 1) + - ", 20, 30]]\n"); - } - } - } - // valid roi before acquiring - else { - std::ostringstream oss; - caller.call("rx_roi", - {"1", std::to_string(detsize.x - 5), "1", - std::to_string(detsize.y - 5)}, - -1, PUT, oss); - REQUIRE(oss.str() == std::string("rx_roi [[1, ") + - std::to_string(detsize.x - 5) + - std::string(", 1, ") + - std::to_string(detsize.y - 5) + - std::string("]]\n")); - } - - // multiple ports vertically - if (((det_type == defs::JUNGFRAU || det_type == defs::MOENCH) && - (numinterfaces == 2)) || - (det.size() == 2 && det.getModuleGeometry().y > 1)) { - std::string stringMin = std::to_string(portSize.y); - std::string stringMax = std::to_string(portSize.y + 1); - - // separated by space is allowed - REQUIRE_NOTHROW( - caller.call("rx_roi", - {"[5, 10, 20, 30]", "[25, 28, " + stringMin + - ", " + stringMax + "]"}, - -1, PUT)); - std::ostringstream oss; - // separated by semicolon is allowed with quotes (skips - // cmdParser) - REQUIRE_NOTHROW( - caller.call("rx_roi", - {"[5, 10, 20, 30];[25, 28, " + stringMin + - ", " + stringMax + "]"}, - -1, PUT, oss)); - REQUIRE(oss.str() == "rx_roi [[5, 10, 20, 30], [25, 28, " + - stringMin + ", " + stringMax + "]]\n"); - - // setting to only one port and verify individual roi - { - REQUIRE_NOTHROW( - caller.call("rx_roi", {"[ 5, 10, 20, 30]"}, -1, PUT)); - std::ostringstream oss, oss1; - REQUIRE_NOTHROW(caller.call("rx_roi", {}, 0, GET, oss)); - - // 2 ports - if (((det_type == defs::JUNGFRAU || - det_type == defs::MOENCH) && - (numinterfaces == 2)) || - (det_type == defs::EIGER)) { - REQUIRE(oss.str() == - "rx_roi [[5, 10, 20, 30], [0, 0, 0, 0]]\n"); - } - // others return only 1 roi per module (1 port per module) - else { - REQUIRE(oss.str() == "rx_roi [[5, 10, 20, 30]]\n"); - } - if (det.size() > 2) { - REQUIRE_NOTHROW( - caller.call("rx_roi", {}, 1, GET, oss1)); - // 2 ports - if (((det_type == defs::JUNGFRAU || - det_type == defs::MOENCH) && - (numinterfaces == 2)) || - (det_type == defs::EIGER)) { - REQUIRE(oss1.str() == - "rx_roi [[0, 0, 0, 0], [0, 0, 0, 0]]\n"); - } - // others return only 1 roi per module (1 port per - // module) - else { - REQUIRE(oss1.str() == "rx_roi [[0, 0, 0, 0]]\n"); - } - } - } - // verify individual roi - { - stringMin = std::to_string(portSize.y - delta); - stringMax = std::to_string(portSize.y + delta); - std::ostringstream oss, oss1; - REQUIRE_NOTHROW(caller.call( - "rx_roi", - {"[ 20, 30, " + stringMin + ", " + stringMax + "]"}, -1, - PUT, oss)); - REQUIRE(oss.str() == "rx_roi [[20, 30, " + stringMin + - ", " + stringMax + "]]\n"); - REQUIRE_NOTHROW(caller.call("rx_roi", {}, 0, GET, oss1)); - - // non-eiger with 2 interfaces returns 2 values for 2 ports - // per module - if ((det_type == defs::JUNGFRAU || - det_type == defs::MOENCH) && - (numinterfaces == 2)) { - REQUIRE(oss1.str() == - "rx_roi [[20, 30, " + stringMin + ", " + - std::to_string(portSize.y - 1) + - "], [20, 30, 0, " + std::to_string(delta) + - "]]\n"); - } - // others return only 1 roi per module (1 port per module) - else { - // (eiger 2 ports) - if (det_type == defs::EIGER) { - REQUIRE(oss1.str() == - "rx_roi [[20, 30, " + stringMin + ", " + - std::to_string(portSize.y - 1) + - "], [0, 0, 0, 0]]\n"); - } else { - REQUIRE(oss1.str() == - "rx_roi [[20, 30, " + stringMin + ", " + - std::to_string(portSize.y - 1) + - "]]\n"); - } - } - } - } - } + if (oneD) + test_rx_roi_1d(det, caller); + else + test_rx_roi_2d(det, caller); // check master file creation // TODO: check roi in master file { + int numinterfaces = det.getNumberofUDPInterfaces().tsquash( + "inconsistent number of interfaces"); auto acq_state = acq::default_acquisition_state(); auto file_state = acq::default_file_state(); diff --git a/slsDetectorSoftware/tests/Caller/test-Caller.cpp b/slsDetectorSoftware/tests/Caller/test-Caller.cpp index 77a1bd240..4c677c0a3 100644 --- a/slsDetectorSoftware/tests/Caller/test-Caller.cpp +++ b/slsDetectorSoftware/tests/Caller/test-Caller.cpp @@ -1079,7 +1079,8 @@ TEST_CASE("timing", "[.detectorintegration]") { REQUIRE(oss2.str() == "timing burst_trigger\n"); } REQUIRE_THROWS(caller.call("timing", {"trigger_gating"}, -1, PUT)); - } else if (det_type == defs::MYTHEN3) { + } else if (det_type == defs::MYTHEN3 || + det_type == defs::XILINX_CHIPTESTBOARD) { { std::ostringstream oss1, oss2; caller.call("timing", {"gating"}, -1, PUT, oss1); @@ -1120,13 +1121,16 @@ TEST_CASE("readoutspeed", "[.detectorintegration]") { det_type == defs::MOENCH || det_type == defs::GOTTHARD2 || det_type == defs::MYTHEN3) { auto prev_val = det.getReadoutSpeed(); + bool fullSpeedSupportedJungfrauBoards = false; + if (det_type == defs::JUNGFRAU) { + auto chipVersion = chipVersionToX10(det.getChipVersion().squash()); + fullSpeedSupportedJungfrauBoards = (chipVersion >= 11); + } - // full speed for jungfrau/moench only works for new boards (chipv1.1 is - // with new board [hw1.0 and chipv1.0 not tested here]) - if (((det_type == defs::JUNGFRAU) && - det.getChipVersion().squash() * 10 == 11) || - det_type == defs::EIGER || det_type == defs::MOENCH || - det_type == defs::MYTHEN3) { + // full speed for jungfrau/moench only works for new boards [hw1.0 and + // chipv1.0 not tested here] + if (fullSpeedSupportedJungfrauBoards || det_type == defs::EIGER || + det_type == defs::MOENCH || det_type == defs::MYTHEN3) { std::ostringstream oss1, oss2, oss3, oss4; caller.call("readoutspeed", {"0"}, -1, PUT, oss1); REQUIRE(oss1.str() == "readoutspeed full_speed\n"); @@ -1692,14 +1696,13 @@ TEST_CASE("filterresistor", "[.detectorintegration]") { Caller caller(&det); auto det_type = det.getDetectorType().squash(); - // only for chipv1.1 - bool chip11 = false; - if (det_type == defs::JUNGFRAU && - det.getChipVersion().squash() * 10 == 11) { - chip11 = true; + bool hasFeature = false; + if (det_type == defs::JUNGFRAU) { + auto chipVersion = chipVersionToX10(det.getChipVersion().squash()); + hasFeature = (chipVersion == 11 || chipVersion == 12); } - if (det_type == defs::GOTTHARD2 || chip11) { + if (det_type == defs::GOTTHARD2 || hasFeature) { auto prev_val = det.getFilterResistor(); { std::ostringstream oss; @@ -1866,9 +1869,8 @@ TEST_CASE("currentsource", "[.detectorintegration]") { else { int chipVersion = 10; if (det_type == defs::JUNGFRAU) { - chipVersion = det.getChipVersion().tsquash( - "inconsistent chip versions to test") * - 10; + chipVersion = chipVersionToX10(det.getChipVersion().tsquash( + "inconsistent chip versions to test")); } if (chipVersion == 10) { REQUIRE_THROWS(caller.call("currentsource", {"1"}, -1, PUT)); @@ -1909,7 +1911,7 @@ TEST_CASE("currentsource", "[.detectorintegration]") { "currentsource [enabled, nofix, 63]\n"); } } - // chipv1.1 + // chipv1.1 and chip v1.2 else { REQUIRE_THROWS(caller.call("currentsource", {"1"}, -1, PUT)); REQUIRE_THROWS( @@ -2618,7 +2620,7 @@ TEST_CASE("numinterfaces", "[.detectorintegration]") { "inconsistent numinterfaces to test"); Result prev_udp_dest; IpAddr prev_src_ip2{}; - if (prev_val == 2 && det_type != defs::EIGER) { + if (prev_val == 2) { prev_udp_dest = det.getDestinationUDPList(0); prev_src_ip2 = det.getSourceUDPIP2()[0]; } @@ -2637,7 +2639,7 @@ TEST_CASE("numinterfaces", "[.detectorintegration]") { caller.call("numinterfaces", {}, -1, GET, oss); REQUIRE(oss.str() == "numinterfaces 1\n"); } - if (prev_val == 2 && det_type != defs::EIGER) { + if (prev_val == 2) { for (int i = 0; i != det.size(); ++i) { det.setDestinationUDPList({prev_udp_dest[i]}, {i}); } @@ -2661,6 +2663,50 @@ TEST_CASE("numinterfaces", "[.detectorintegration]") { REQUIRE_THROWS(caller.call("numinterfaces", {"0"}, -1, PUT)); } +TEST_CASE("numinterfaces_with_fwrite", + "[.detectorintegration][.disable_check_data_file]") { + Detector det; + auto det_type = det.getDetectorType().squash(); + if (det_type == defs::JUNGFRAU || det_type == defs::MOENCH) { + + // previous state + auto prev_val = det.getNumberofUDPInterfaces().tsquash( + "inconsistent numinterfaces to test"); + Result prev_udp_dest; + IpAddr prev_src_ip2{}; + if (prev_val == 2) { + prev_udp_dest = det.getDestinationUDPList(0); + prev_src_ip2 = det.getSourceUDPIP2()[0]; + } + auto prev_fwrite = + det.getFileWrite().tsquash("inconsistent file write state"); + + // testing file write before and after num interface change + det.setNumberofUDPInterfaces(2); + det.setFileWrite(true); + det.setNumberofUDPInterfaces(1); + REQUIRE(det.getFileWrite().tsquash("inconsistent file write state") == + true); + // check if file write actually works + auto acq_state = acq::default_acquisition_state(); + auto file_state = acq::default_file_state(); + file_state.file_format = defs::BINARY; + acq::run(det, acq_state, file_state); + std::string fname = acq::get_master_file_name(file_state); + REQUIRE(std::filesystem::exists(fname)); + + // restore previous state + det.setFileWrite(prev_fwrite); + if (prev_val == 2) { + for (int i = 0; i != det.size(); ++i) { + det.setDestinationUDPList({prev_udp_dest[i]}, {i}); + } + det.setSourceUDPIP2({prev_src_ip2}); + } + det.setNumberofUDPInterfaces(prev_val); + } +} + TEST_CASE("udp_srcip", "[.detectorintegration]") { Detector det; Caller caller(&det); diff --git a/slsDetectorSoftware/tests/acquire/Acquire.cpp b/slsDetectorSoftware/tests/acquire/Acquire.cpp index bc738174d..411829b68 100644 --- a/slsDetectorSoftware/tests/acquire/Acquire.cpp +++ b/slsDetectorSoftware/tests/acquire/Acquire.cpp @@ -35,7 +35,8 @@ void run(Detector &det, const AcquisitionState &acq_state, const FileState &file_state) { INFO(ToString(det.getDetectorType().squash(defs::GENERIC)) - << " acquiring with num_frames = " << acq_state.num_frames); + << " acquiring with num_frames = " << acq_state.num_frames + << ". Check PC Tuning Options\n"); FileStateGuard file_guard(det, file_state); AcquisitionStateGuard acq_guard(det, acq_state); diff --git a/slsReceiverSoftware/src/Implementation.cpp b/slsReceiverSoftware/src/Implementation.cpp index 6a78b764e..60c704578 100644 --- a/slsReceiverSoftware/src/Implementation.cpp +++ b/slsReceiverSoftware/src/Implementation.cpp @@ -1164,6 +1164,13 @@ void Implementation::setNumberofUDPInterfaces(const int n) { // test socket buffer size with current set up setUDPSocketBufferSize(0); + + // set up file write if enabled + if (fileWriteEnable) { + for (const auto &it : dataProcessor) + it->SetupFileWriter(fileWriteEnable, fileFormatType, + &hdf5LibMutex); + } } LOG(logINFO) << "Number of Interfaces: " << generalData->numUDPInterfaces; diff --git a/slsSupportLib/include/sls/versionAPI.h b/slsSupportLib/include/sls/versionAPI.h index 1bf107977..73955104c 100644 --- a/slsSupportLib/include/sls/versionAPI.h +++ b/slsSupportLib/include/sls/versionAPI.h @@ -7,7 +7,7 @@ #define APIGOTTHARD2 "0.0.0 0x260427" #define APIMOENCH "0.0.0 0x260424" #define APIEIGER "0.0.0 0x260807" -#define APIXILINXCTB "0.0.0 0x260506" -#define APIJUNGFRAU "0.0.0 0x260424" +#define APIXILINXCTB "0.0.0 0x260813" +#define APIJUNGFRAU "0.0.0 0x260902" #define APIMYTHEN3 "0.0.0 0x260506" #define APIMATTERHORN "0.0.0 0x260529"