java-parser.js
来自「原名JSPackager」· JavaScript 代码 · 共 1 行
JS
1 行
function JavaParser(source) {this.initialize(source);}$JSI.extend(JavaParser, SourceParser);JavaParser.prototype.keywordsRegexp = SourceParser.buildKeywordsRegexp(["@interface", "abstract", "assert", "boolean", "break", "byte", "case", "catch", "char", "class", "const", "continue", "default", "do", "double", "else", "enum", "extends", "false", "final", "finally", "float", "for", "goto", "if", "implements", "import", "instanceof", "int", "interface", "long", "native", "new", "null", "package", "private", "protected", "public", "return", "short", "static", "strictfp", "super", "switch", "synchronized", "this", "throw", "throws", "true", "transient", "try", "void", "volatile", "while"]);JavaParser.prototype.partitionsRegexp = SourceParser.buildPartitionsRegexp(["/\\*(?:[^\\*]|\\*[^/])*\\*/", "//.*$", "/(?:\\\\.|[^/\\n\\r])+/", "\"(?:\\\\.|[^\"\\n\\r])*\"", "'(?:\\\\.|[^'\\n\\r])*'", "\\b([\\d]+(\\.[\\d]+)?|0x[a-fA-F0-9]+)\\b", "@[\\u0024\\w]+\\b"]);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?