An Error message of unkown variable message should be returned to provide user with a path to fix their code.
{
"_type": "data",
"elements": [
{
"_type": "class",
"constraints": [],
"name": "Person",
"originalMilestonedProperties": [],
"package": "model",
"properties": [
{
"multiplicity": {
"lowerBound": 1,
"upperBound": 1
},
"name": "firstName",
"propertyTypeSourceInformation": {
"endColumn": 19,
"endLine": 3,
"sourceId": "",
"startColumn": 14,
"startLine": 3
},
"sourceInformation": {
"endColumn": 23,
"endLine": 3,
"sourceId": "",
"startColumn": 3,
"startLine": 3
},
"stereotypes": [],
"taggedValues": [],
"type": "String"
},
{
"multiplicity": {
"lowerBound": 1,
"upperBound": 1
},
"name": "lastName",
"propertyTypeSourceInformation": {
"endColumn": 18,
"endLine": 4,
"sourceId": "",
"startColumn": 13,
"startLine": 4
},
"sourceInformation": {
"endColumn": 22,
"endLine": 4,
"sourceId": "",
"startColumn": 3,
"startLine": 4
},
"stereotypes": [],
"taggedValues": [],
"type": "String"
}
],
"qualifiedProperties": [
{
"body": [
{
"_type": "func",
"function": "if",
"parameters": [
{
"_type": "var",
"name": "noCheck",
"sourceInformation": {
"endColumn": 64,
"endLine": 5,
"sourceId": "",
"startColumn": 57,
"startLine": 5
}
},
{
"_type": "lambda",
"body": [
{
"_type": "boolean",
"multiplicity": {
"lowerBound": 1,
"upperBound": 1
},
"sourceInformation": {
"endColumn": 71,
"endLine": 5,
"sourceId": "",
"startColumn": 68,
"startLine": 5
},
"values": [
true
]
}
],
"parameters": [],
"sourceInformation": {
"endColumn": 71,
"endLine": 5,
"sourceId": "",
"startColumn": 67,
"startLine": 5
}
},
{
"_type": "lambda",
"body": [
{
"_type": "func",
"function": "if",
"parameters": [
{
"_type": "func",
"function": "equal",
"parameters": [
{
"_type": "func",
"function": "plus",
"parameters": [
{
"_type": "collection",
"multiplicity": {
"lowerBound": 2,
"upperBound": 2
},
"sourceInformation": {
"endColumn": 110,
"endLine": 5,
"sourceId": "",
"startColumn": 95,
"startLine": 5
},
"values": [
{
"_type": "property",
"parameters": [
{
"_type": "var",
"name": "this",
"sourceInformation": {
"endColumn": 83,
"endLine": 5,
"sourceId": "",
"startColumn": 79,
"startLine": 5
}
}
],
"property": "firstName",
"sourceInformation": {
"endColumn": 93,
"endLine": 5,
"sourceId": "",
"startColumn": 85,
"startLine": 5
}
},
{
"_type": "property",
"parameters": [
{
"_type": "var",
"name": "this",
"sourceInformation": {
"endColumn": 101,
"endLine": 5,
"sourceId": "",
"startColumn": 97,
"startLine": 5
}
}
],
"property": "lastName",
"sourceInformation": {
"endColumn": 110,
"endLine": 5,
"sourceId": "",
"startColumn": 103,
"startLine": 5
}
}
]
}
],
"sourceInformation": {
"endColumn": 110,
"endLine": 5,
"sourceId": "",
"startColumn": 95,
"startLine": 5
}
},
{
"_type": "var",
"name": "fullNameL",
"sourceInformation": {
"endColumn": 125,
"endLine": 5,
"sourceId": "",
"startColumn": 116,
"startLine": 5
}
}
],
"sourceInformation": {
"endColumn": 114,
"endLine": 5,
"sourceId": "",
"startColumn": 113,
"startLine": 5
}
},
{
"_type": "lambda",
"body": [
{
"_type": "boolean",
"multiplicity": {
"lowerBound": 1,
"upperBound": 1
},
"sourceInformation": {
"endColumn": 132,
"endLine": 5,
"sourceId": "",
"startColumn": 129,
"startLine": 5
},
"values": [
true
]
}
],
"parameters": [],
"sourceInformation": {
"endColumn": 132,
"endLine": 5,
"sourceId": "",
"startColumn": 128,
"startLine": 5
}
},
{
"_type": "lambda",
"body": [
{
"_type": "boolean",
"multiplicity": {
"lowerBound": 1,
"upperBound": 1
},
"sourceInformation": {
"endColumn": 140,
"endLine": 5,
"sourceId": "",
"startColumn": 136,
"startLine": 5
},
"values": [
false
]
}
],
"parameters": [],
"sourceInformation": {
"endColumn": 140,
"endLine": 5,
"sourceId": "",
"startColumn": 135,
"startLine": 5
}
}
],
"sourceInformation": {
"endColumn": 76,
"endLine": 5,
"sourceId": "",
"startColumn": 75,
"startLine": 5
}
}
],
"parameters": [],
"sourceInformation": {
"endColumn": 141,
"endLine": 5,
"sourceId": "",
"startColumn": 74,
"startLine": 5
}
}
],
"sourceInformation": {
"endColumn": 55,
"endLine": 5,
"sourceId": "",
"startColumn": 54,
"startLine": 5
}
}
],
"name": "isEqual",
"parameters": [
{
"_type": "var",
"class": "String",
"multiplicity": {
"lowerBound": 1,
"upperBound": 1
},
"name": "fullName",
"sourceInformation": {
"endColumn": 29,
"endLine": 5,
"sourceId": "",
"startColumn": 11,
"startLine": 5
}
},
{
"_type": "var",
"class": "Boolean",
"multiplicity": {
"lowerBound": 1,
"upperBound": 1
},
"name": "noCheck",
"sourceInformation": {
"endColumn": 50,
"endLine": 5,
"sourceId": "",
"startColumn": 32,
"startLine": 5
}
}
],
"returnMultiplicity": {
"lowerBound": 1,
"upperBound": 1
},
"returnType": "Boolean",
"sourceInformation": {
"endColumn": 156,
"endLine": 5,
"sourceId": "",
"startColumn": 3,
"startLine": 5
},
"stereotypes": [],
"taggedValues": []
}
],
"sourceInformation": {
"endColumn": 1,
"endLine": 6,
"sourceId": "",
"startColumn": 1,
"startLine": 1
},
"stereotypes": [],
"superTypes": [],
"taggedValues": []
},
{
"_type": "sectionIndex",
"name": "SectionIndex",
"package": "__internal__",
"sections": [
{
"_type": "importAware",
"elements": [
"model::Person"
],
"imports": [],
"parserName": "Pure",
"sourceInformation": {
"endColumn": 2,
"endLine": 8,
"sourceId": "",
"startColumn": 1,
"startLine": 1
}
}
]
}
]
}