@aurahelper/languages
Version:
Language Libraries to work with XML, Aura, Apex... files. tokenizers, parsers, system classes and much more
399 lines • 11.5 kB
JSON
{
"id": "Datasource.datasourceutil",
"nodeType": "class",
"name": "DataSourceUtil",
"namespace": "Datasource",
"startToken": {
"type": "declaration.entity.name.class",
"text": "DataSourceUtil",
"textToLower": "datasourceutil",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.class_DataSourceUtil_-1:0"
},
"order": 0,
"memberOrder": 0,
"accessModifier": {
"type": "keyword.modifier.access",
"text": "global",
"textToLower": "global",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "keyword.modifier.access_global_-1:0"
},
"sharingModifier": {
"type": "keyword.modifier.sharing",
"text": "without sharing",
"textToLower": "without sharing",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "keyword.modifier.sharing_without sharing_-1:0"
},
"description": "Parent class for the DataSource.Provider, DataSource.Connection, DataSource.Table, and DataSource.Column classes.",
"documentation": "https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_class_DataSource_DataSourceUtil.htm",
"classes": {},
"interfaces": {},
"enums": {},
"variables": {},
"methods": {
"logwarning(string)": {
"id": "Datasource.datasourceutil.method.logwarning(string)",
"nodeType": "method",
"name": "logWarning",
"startToken": {
"type": "declaration.entity.name.function",
"text": "logWarning",
"textToLower": "logwarning",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_logWarning_-1:0"
},
"parentId": "Datasource.datasourceutil",
"order": 1,
"memberOrder": 1,
"accessModifier": {
"type": "keyword.modifier.access",
"text": "public",
"textToLower": "public",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 0,
"character": 6
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_public_0:0"
},
"signature": "public void logWarning(String message)",
"overrideSignature": "public override void logWarning(String message)",
"simplifiedSignature": "logWarning(String)",
"datatype": {
"id": "Datasource.datasourceutil.logwarning.datatype.void",
"nodeType": "datatype",
"name": "void",
"startToken": {
"type": "datatype.primitive",
"text": "void",
"textToLower": "void",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 7
},
"end": {
"line": 0,
"character": 11
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_void_0:7"
},
"parentId": "Datasource.datasourceutil.logwarning",
"order": 0,
"memberOrder": 0,
"type": "void"
},
"description": "Logs the error message in the debug log.",
"parentName": "DataSourceUtil",
"variables": {},
"params": {
"message": {
"id": "Datasource.datasourceutil.method.logwarning(string).varParam.message",
"nodeType": "variable",
"name": "message",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "message",
"textToLower": "message",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 30
},
"end": {
"line": 0,
"character": 37
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_message_0:30"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "message",
"textToLower": "message",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 30
},
"end": {
"line": 0,
"character": 37
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_message_0:30"
},
"parentId": "Datasource.datasourceutil.method.logwarning(string)",
"order": 1,
"memberOrder": 1,
"datatype": {
"id": "Datasource.datasourceutil.logwarning.datatype.String",
"nodeType": "datatype",
"name": "String",
"startToken": {
"type": "datatype.primitive",
"text": "String",
"textToLower": "string",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 23
},
"end": {
"line": 0,
"character": 29
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_String_0:23"
},
"parentId": "Datasource.datasourceutil.logwarning",
"order": 0,
"memberOrder": 0,
"type": "String"
},
"description": "The error message.",
"scope": null
}
},
"queries": [],
"exceptions": []
},
"throwexception(string)": {
"id": "Datasource.datasourceutil.method.throwexception(string)",
"nodeType": "method",
"name": "throwException",
"startToken": {
"type": "declaration.entity.name.function",
"text": "throwException",
"textToLower": "throwexception",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_throwException_-1:0"
},
"parentId": "Datasource.datasourceutil",
"order": 2,
"memberOrder": 2,
"accessModifier": {
"type": "keyword.modifier.access",
"text": "public",
"textToLower": "public",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 0,
"character": 6
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_public_0:0"
},
"signature": "public void throwException(String message)",
"overrideSignature": "public override void throwException(String message)",
"simplifiedSignature": "throwException(String)",
"datatype": {
"id": "Datasource.datasourceutil.throwexception.datatype.void",
"nodeType": "datatype",
"name": "void",
"startToken": {
"type": "datatype.primitive",
"text": "void",
"textToLower": "void",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 7
},
"end": {
"line": 0,
"character": 11
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_void_0:7"
},
"parentId": "Datasource.datasourceutil.throwexception",
"order": 0,
"memberOrder": 0,
"type": "void"
},
"description": "Throws a DataSourceException and displays the provided message to the user.",
"parentName": "DataSourceUtil",
"variables": {},
"params": {
"message": {
"id": "Datasource.datasourceutil.method.throwexception(string).varParam.message",
"nodeType": "variable",
"name": "message",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "message",
"textToLower": "message",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 34
},
"end": {
"line": 0,
"character": 41
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_message_0:34"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "message",
"textToLower": "message",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 34
},
"end": {
"line": 0,
"character": 41
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_message_0:34"
},
"parentId": "Datasource.datasourceutil.method.throwexception(string)",
"order": 1,
"memberOrder": 1,
"datatype": {
"id": "Datasource.datasourceutil.throwexception.datatype.String",
"nodeType": "datatype",
"name": "String",
"startToken": {
"type": "datatype.primitive",
"text": "String",
"textToLower": "string",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 27
},
"end": {
"line": 0,
"character": 33
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_String_0:27"
},
"parentId": "Datasource.datasourceutil.throwexception",
"order": 0,
"memberOrder": 0,
"type": "String"
},
"description": "Error message to display to the user.",
"scope": null
}
},
"queries": [],
"exceptions": []
}
},
"constructors": {},
"extendsType": "",
"implementTypes": [],
"implements": {},
"totalMembers": 2,
"queries": []
}