%PDF- %PDF-
Direktori : /proc/self/root/usr/share/webmin/authentic-theme/unauthenticated/js/codemirror/mode/python/ |
Current File : //proc/self/root/usr/share/webmin/authentic-theme/unauthenticated/js/codemirror/mode/python/test.js |
!function(){function r(r){test.mode(r,e,Array.prototype.slice.call(arguments,1))}var e=CodeMirror.getMode({indentUnit:4},{name:"python",version:3,singleLineStringErrors:!1});r("decoratorStartOfLine","[meta @dec]","[keyword def] [def function]():"," [keyword pass]"),r("decoratorIndented","[keyword class] [def Foo]:"," [meta @dec]"," [keyword def] [def function]():"," [keyword pass]"),r("matmulWithSpace:","[variable a] [operator @] [variable b]"),r("matmulWithoutSpace:","[variable a][operator @][variable b]"),r("matmulSpaceBefore:","[variable a] [operator @][variable b]");for(var i=["+","-","*","/","=","!",">","<"],t=0;t<i.length;++t){var a=i[t];r("before_equal_sign_"+a,"[variable a] [operator "+a+"=] [variable b]")}r("fValidStringPrefix","[string f'this is a]{[variable formatted]}[string string']"),r("fValidExpressioninFString","[string f'expression ]{[number 100][operator *][number 5]}[string string']"),r("fInvalidFString","[error f'this is wrong}]"),r("fNestedFString","[string f'expression ]{[number 100] [operator +] [string f'inner]{[number 5]}[string ']}[string string']"),r("uValidStringPrefix","[string u'this is an unicode string']")}();