Structs§
- Decorator
Info - Parsed decorator info for Python
@decorator(args).
Functions§
- clean_
string_ literal - Remove surrounding quotes from a string literal.
- collect_
decorators - Collect decorators from a decorated_definition or directly from a node.
- get_
def_ name - Get the function/class name from a definition node.
- get_
inner_ definition - Get the inner definition from a decorated_definition node.
- node_
text - Extract text content from a tree-sitter node.
- to_
kebab_ case - Convert PascalCase/snake_case to kebab-case.