Step 60 TDD test: AST query API

Tests ASTQueryAPI: getAST returns JSON, findNodesByType for Functions/
Parameters/VariableReferences, findNodesByProperty by name,
findNodesWithAnnotation, and getSubtree with depth limit.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Bill
2026-02-07 08:25:37 -07:00
parent f438005413
commit 16b7384cd0
2 changed files with 188 additions and 0 deletions

View File

@@ -169,6 +169,9 @@ target_include_directories(step56_test PRIVATE src)
add_executable(step57_test tests/step57_test.cpp)
target_include_directories(step57_test PRIVATE src)
add_executable(step60_test tests/step60_test.cpp)
target_include_directories(step60_test PRIVATE src)
add_executable(whetstone_editor src/main.cpp)
target_include_directories(whetstone_editor PRIVATE src)
# find_package(SDL2 REQUIRED) # Commented out for now to avoid build issues