text:"browser/Untitled1.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier:<SPDX-License>" to each source file. Use "SPDX-License-Identifier:UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.↵"
type:"warning"
*@param{String}filePath
*@param{String}plugin
*/
clearAnnotations(){
this.sourceAnnotations=[]
this.editor.getSession().clearAnnotations()
clearAnnotationsByPlugin(filePath,plugin){
if(filePath&&!this.sessions[filePath])thrownewError('file not found'+filePath)
text:"browser/Untitled1.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier:<SPDX-License>" to each source file. Use "SPDX-License-Identifier:UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.↵"
text:"browser/Untitled1.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier:<SPDX-License>" to each source file. Use "SPDX-License-Identifier:UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.↵"
text:"browser/Untitled1.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier:<SPDX-License>" to each source file. Use "SPDX-License-Identifier:UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.↵"
type:"warning"
*@param{Object}annotation
*@param{String}filePath
*/
addAnnotation(annotation,filePath){
if(filePath&&!this.sessions[filePath])thrownewError('file not found'+filePath)