CoolFace
Apppublic

aravagarwal/CodeCloakPII

sourceHugging Faceupdated 3y agoView on Hugging Face
0likes
highlights.scm143 linesDownload Raw Back to queries
1; Methods2 3(method_declaration4  name: (identifier) @function.method)5(method_invocation6  name: (identifier) @function.method)7(super) @function.builtin8 9; Annotations10 11(annotation12  name: (identifier) @attribute)13(marker_annotation14  name: (identifier) @attribute)15 16"@" @operator17 18; Types19 20(type_identifier) @type21 22(interface_declaration23  name: (identifier) @type)24(class_declaration25  name: (identifier) @type)26(enum_declaration27  name: (identifier) @type)28 29((field_access30  object: (identifier) @type)31 (#match? @type "^[A-Z]"))32((scoped_identifier33  scope: (identifier) @type)34 (#match? @type "^[A-Z]"))35((method_invocation36  object: (identifier) @type)37 (#match? @type "^[A-Z]"))38((method_reference39  . (identifier) @type)40 (#match? @type "^[A-Z]"))41 42(constructor_declaration43  name: (identifier) @type)44 45[46  (boolean_type)47  (integral_type)48  (floating_point_type)49  (floating_point_type)50  (void_type)51] @type.builtin52 53; Variables54 55((identifier) @constant56 (#match? @constant "^_*[A-Z][A-Z\\d_]+$"))57 58(identifier) @variable59 60(this) @variable.builtin61 62; Literals63 64[65  (hex_integer_literal)66  (decimal_integer_literal)67  (octal_integer_literal)68  (decimal_floating_point_literal)69  (hex_floating_point_literal)70] @number71 72[73  (character_literal)74  (string_literal)75] @string76(escape_sequence) @string.escape77 78[79  (true)80  (false)81  (null_literal)82] @constant.builtin83 84[85  (line_comment)86  (block_comment)87] @comment88 89; Keywords90 91[92  "abstract"93  "assert"94  "break"95  "case"96  "catch"97  "class"98  "continue"99  "default"100  "do"101  "else"102  "enum"103  "exports"104  "extends"105  "final"106  "finally"107  "for"108  "if"109  "implements"110  "import"111  "instanceof"112  "interface"113  "module"114  "native"115  "new"116  "non-sealed"117  "open"118  "opens"119  "package"120  "private"121  "protected"122  "provides"123  "public"124  "requires"125  "record"126  "return"127  "sealed"128  "static"129  "strictfp"130  "switch"131  "synchronized"132  "throw"133  "throws"134  "to"135  "transient"136  "transitive"137  "try"138  "uses"139  "volatile"140  "while"141  "with"142] @keyword143