Constant umm::constants::CLASS_CONSTRUCTOR_QUERY
source · pub const CLASS_CONSTRUCTOR_QUERY: &str = "(program\n (block_comment)*\n (line_comment)*\n (class_declaration \n (class_body\n ((block_comment)*\n (line_comment)*\n (constructor_declaration\n\t\t\t(modifiers)* @modifier\n \t\t(marker_annotation)* @annotation\n\t\t\t name: (_) @identifier\n parameters: (_)* @parameters\n (throws)* @throws\n\t\t\t))*\n )\n\t)\n)";
Expand description
Tree-sitter query that returns class constructor signatures
modifier
: constructor modifiersannotation
: constructor annotationsidentifier
: constructor identifierparameters
: constructor parametersthrows
: constructor throws