@aurahelper/languages
Version:
Language Libraries to work with XML, Aura, Apex... files. tokenizers, parsers, system classes and much more
654 lines • 18.6 kB
JSON
{
"id": "Canvas.applicationcontext",
"nodeType": "interface",
"name": "ApplicationContext",
"namespace": "Canvas",
"startToken": {
"type": "declaration.entity.name.class",
"text": "ApplicationContext",
"textToLower": "applicationcontext",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.class_ApplicationContext_-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": "Use this interface to retrieve application context information, such as the application version or URL.",
"documentation": "https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_interface_canvas_ApplicationContext.htm",
"classes": {},
"interfaces": {},
"enums": {},
"variables": {},
"methods": {
"getcanvasurl()": {
"id": "Canvas.applicationcontext.method.getcanvasurl()",
"nodeType": "method",
"name": "getCanvasUrl",
"startToken": {
"type": "declaration.entity.name.function",
"text": "getCanvasUrl",
"textToLower": "getcanvasurl",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_getCanvasUrl_-1:0"
},
"parentId": "Canvas.applicationcontext",
"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 String getCanvasUrl()",
"overrideSignature": "public override String getCanvasUrl()",
"simplifiedSignature": "getCanvasUrl()",
"datatype": {
"id": "Canvas.applicationcontext.getcanvasurl.datatype.String",
"nodeType": "datatype",
"name": "String",
"startToken": {
"type": "datatype.primitive",
"text": "String",
"textToLower": "string",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 7
},
"end": {
"line": 0,
"character": 13
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_String_0:7"
},
"parentId": "Canvas.applicationcontext.getcanvasurl",
"order": 0,
"memberOrder": 0,
"type": "String"
},
"description": "Retrieves the fully qualified URL of the canvas app.",
"parentName": "ApplicationContext",
"variables": {},
"params": {},
"queries": [],
"exceptions": []
},
"getdevelopername()": {
"id": "Canvas.applicationcontext.method.getdevelopername()",
"nodeType": "method",
"name": "getDeveloperName",
"startToken": {
"type": "declaration.entity.name.function",
"text": "getDeveloperName",
"textToLower": "getdevelopername",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_getDeveloperName_-1:0"
},
"parentId": "Canvas.applicationcontext",
"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 String getDeveloperName()",
"overrideSignature": "public override String getDeveloperName()",
"simplifiedSignature": "getDeveloperName()",
"datatype": {
"id": "Canvas.applicationcontext.getdevelopername.datatype.String",
"nodeType": "datatype",
"name": "String",
"startToken": {
"type": "datatype.primitive",
"text": "String",
"textToLower": "string",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 7
},
"end": {
"line": 0,
"character": 13
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_String_0:7"
},
"parentId": "Canvas.applicationcontext.getdevelopername",
"order": 0,
"memberOrder": 0,
"type": "String"
},
"description": "Retrieves the internal API name of the canvas app.",
"parentName": "ApplicationContext",
"variables": {},
"params": {},
"queries": [],
"exceptions": []
},
"getname()": {
"id": "Canvas.applicationcontext.method.getname()",
"nodeType": "method",
"name": "getName",
"startToken": {
"type": "declaration.entity.name.function",
"text": "getName",
"textToLower": "getname",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_getName_-1:0"
},
"parentId": "Canvas.applicationcontext",
"order": 3,
"memberOrder": 3,
"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 String getName()",
"overrideSignature": "public override String getName()",
"simplifiedSignature": "getName()",
"datatype": {
"id": "Canvas.applicationcontext.getname.datatype.String",
"nodeType": "datatype",
"name": "String",
"startToken": {
"type": "datatype.primitive",
"text": "String",
"textToLower": "string",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 7
},
"end": {
"line": 0,
"character": 13
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_String_0:7"
},
"parentId": "Canvas.applicationcontext.getname",
"order": 0,
"memberOrder": 0,
"type": "String"
},
"description": "Retrieves the name of the canvas app.",
"parentName": "ApplicationContext",
"variables": {},
"params": {},
"queries": [],
"exceptions": []
},
"getnamespace()": {
"id": "Canvas.applicationcontext.method.getnamespace()",
"nodeType": "method",
"name": "getNamespace",
"startToken": {
"type": "declaration.entity.name.function",
"text": "getNamespace",
"textToLower": "getnamespace",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_getNamespace_-1:0"
},
"parentId": "Canvas.applicationcontext",
"order": 4,
"memberOrder": 4,
"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 String getNamespace()",
"overrideSignature": "public override String getNamespace()",
"simplifiedSignature": "getNamespace()",
"datatype": {
"id": "Canvas.applicationcontext.getnamespace.datatype.String",
"nodeType": "datatype",
"name": "String",
"startToken": {
"type": "datatype.primitive",
"text": "String",
"textToLower": "string",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 7
},
"end": {
"line": 0,
"character": 13
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_String_0:7"
},
"parentId": "Canvas.applicationcontext.getnamespace",
"order": 0,
"memberOrder": 0,
"type": "String"
},
"description": "Retrieves the namespace prefix of the canvas app.",
"parentName": "ApplicationContext",
"variables": {},
"params": {},
"queries": [],
"exceptions": []
},
"getversion()": {
"id": "Canvas.applicationcontext.method.getversion()",
"nodeType": "method",
"name": "getVersion",
"startToken": {
"type": "declaration.entity.name.function",
"text": "getVersion",
"textToLower": "getversion",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_getVersion_-1:0"
},
"parentId": "Canvas.applicationcontext",
"order": 5,
"memberOrder": 5,
"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 String getVersion()",
"overrideSignature": "public override String getVersion()",
"simplifiedSignature": "getVersion()",
"datatype": {
"id": "Canvas.applicationcontext.getversion.datatype.String",
"nodeType": "datatype",
"name": "String",
"startToken": {
"type": "datatype.primitive",
"text": "String",
"textToLower": "string",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 7
},
"end": {
"line": 0,
"character": 13
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_String_0:7"
},
"parentId": "Canvas.applicationcontext.getversion",
"order": 0,
"memberOrder": 0,
"type": "String"
},
"description": "Retrieves the current version of the canvas app.",
"parentName": "ApplicationContext",
"variables": {},
"params": {},
"queries": [],
"exceptions": []
},
"setcanvasurlpath(string)": {
"id": "Canvas.applicationcontext.method.setcanvasurlpath(string)",
"nodeType": "method",
"name": "setCanvasUrlPath",
"startToken": {
"type": "declaration.entity.name.function",
"text": "setCanvasUrlPath",
"textToLower": "setcanvasurlpath",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_setCanvasUrlPath_-1:0"
},
"parentId": "Canvas.applicationcontext",
"order": 6,
"memberOrder": 6,
"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 String setCanvasUrlPath(String newPath)",
"overrideSignature": "public override String setCanvasUrlPath(String newPath)",
"simplifiedSignature": "setCanvasUrlPath(String)",
"datatype": {
"id": "Canvas.applicationcontext.setcanvasurlpath.datatype.String",
"nodeType": "datatype",
"name": "String",
"startToken": {
"type": "datatype.primitive",
"text": "String",
"textToLower": "string",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 7
},
"end": {
"line": 0,
"character": 13
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_String_0:7"
},
"parentId": "Canvas.applicationcontext.setcanvasurlpath",
"order": 0,
"memberOrder": 0,
"type": "String"
},
"description": "Overrides the URL of the canvas app for the current request.",
"parentName": "ApplicationContext",
"variables": {},
"params": {
"newpath": {
"id": "Canvas.applicationcontext.method.setcanvasurlpath(string).varParam.newpath",
"nodeType": "variable",
"name": "newPath",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "newPath",
"textToLower": "newpath",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 38
},
"end": {
"line": 0,
"character": 45
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_newPath_0:38"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "newPath",
"textToLower": "newpath",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 38
},
"end": {
"line": 0,
"character": 45
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_newPath_0:38"
},
"parentId": "Canvas.applicationcontext.method.setcanvasurlpath(string)",
"order": 1,
"memberOrder": 1,
"datatype": {
"id": "Canvas.applicationcontext.setcanvasurlpath.datatype.String",
"nodeType": "datatype",
"name": "String",
"startToken": {
"type": "datatype.primitive",
"text": "String",
"textToLower": "string",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 31
},
"end": {
"line": 0,
"character": 37
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_String_0:31"
},
"parentId": "Canvas.applicationcontext.setcanvasurlpath",
"order": 0,
"memberOrder": 0,
"type": "String"
},
"description": "The URL (not including domain) that you need to use to override the canvas app URL.",
"scope": null
}
},
"queries": [],
"exceptions": []
}
},
"constructors": {},
"extendsType": "",
"implementTypes": [],
"implements": {},
"totalMembers": 6,
"queries": []
}