Structs§
Functions§
- decorator_
callee - Return a decorator’s callable expression, peeling an optional invocation.
- expression_
name_ node - Return the name-bearing node of a Python expression using tree-sitter fields.
- python_
deferred_ annotation_ identifier_ ranges - Parse one exactly mapped deferred annotation and return its identifier ranges.
- python_
deferred_ annotation_ tree - Parse one quoted annotation expression while preserving its original source byte coordinates. Literal string values and arbitrary strings are rejected by the same structured gate used by inverse membership.
- python_
node_ is_ in_ annotation - Whether
nodeis contained by a parser field that Python evaluates as an annotation rather than as an ordinary expression.