Skip to content

Conversation

@ObserverOfTime
Copy link
Member

@ObserverOfTime ObserverOfTime commented Feb 15, 2025

Additions

  • Language.getAbiVersion()
  • Language.getName()
  • Language.getMetadata()
  • Language.getSupertypes()
  • Language.getSubtypes()
  • InputEncoding.UTF_16LE
  • InputEncoding.UTF_16BE
  • Query()
  • Query.getCaptureNames()
  • Query.getStringValues()
  • QueryCursor()
  • QueryCursor.findCaptures()

Changes

  • Parser.parse() accepts an options parameter.
  • Query.getMatchLimit() -> QueryCursor.getMatchLimit()
  • Query.setMatchLimit() -> QueryCursor.setMatchLimit()
  • Query.getTimeoutMicros() -> QueryCursor.getTimeoutMicros()
  • Query.setTimeoutMicros() -> QueryCursor.setTimeoutMicros()
  • Query.setMaxStartDepth() -> QueryCursor.setMaxStartDepth()
  • Query.setByteRange() -> QueryCursor.setByteRange()
  • Query.setPointRange() -> QueryCursor.setPointRange()
  • Query.didExceedMatchLimit() -> QueryCursor.didExceedMatchLimit()
  • Query.findMatches() -> QueryCursor.findMatches()

Deprecations

  • Language.getVersion()
  • Language.query()
  • Parser.getTimeoutMicros()
  • Parser.setTimeoutMicros()
  • Parser.getCancellationFlag()
  • Parser.setCancellationFlag()
  • Query.getCaptureCount()

Removals

  • InputEncoding.UTF_16

@ObserverOfTime ObserverOfTime merged commit b01c35e into master Feb 28, 2025
3 checks passed
@ObserverOfTime ObserverOfTime deleted the 0.25 branch February 28, 2025 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Split the bindings for TSQuery and TSQueryCursor into multiple classes

3 participants