Files
Viper_VSCode/.gitignore
T
TermiNexus 5463fac3d2
Validation / Typecheck (push) Has been cancelled
Validation / Style (push) Has been cancelled
Validation / Test macos-latest (push) Has been cancelled
Validation / Test ubuntu-latest (push) Has been cancelled
Validation / Test windows-latest (push) Has been cancelled
Validation / Build (push) Has been cancelled
Validation / Required (push) Has been cancelled
feat(vipeye-internal): 支持 match-case 内裸 break 与 fallthrough
- break:parser 新增 _isInMatchCase(解析 case body 期间置位,与 _isInLoop 同法),_parseBreakStatement 判据放宽为 !_isInLoop && !_isInMatchCase,不再误报 breakOutsideLoop

- fallthrough:新增 ParseNodeType.Fallthrough / FallthroughNode;作为软关键字仅在「viper 方言 + case 体内 + 独占简单语句」时成立,其它位置仍是普通标识符

- 同步 parseTreeWalker 两处 switch 与 visitor、parseNodeUtils 的 ParseNodeTypeMap、binder 流程终止、flowChartBuilder 终止语句、completion 关键字、TextMate 高亮

- 测试 viperMatchBreakFallthrough.test.ts(2 用例),全量 jest 825 -> 827 通过
2026-10-02 22:29:53 +08:00

178 lines
4.2 KiB
Plaintext

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
*.lcov
# nyc test coverage
.nyc_output
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# Snowpack dependency directory (https://snowpack.dev/)
web_modules/
# TypeScript cache
*.tsbuildinfo
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
.env.test
# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache
# Next.js build output
.next
out
# Nuxt.js build / generate output
.nuxt
dist
# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public
# vuepress build output
.vuepress/dist
# Serverless directories
.serverless/
# FuseBox cache
.fusebox/
# DynamoDB Local files
.dynamodb/
# TernJS port file
.tern-port
# Stores VSCode versions used for testing VSCode extensions
.vscode-test
# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
*.vsix
junit.xml
.webpack_cache/
# OS files
.DS_Store
Thumbs.db
# Potential venv
.venv
# Agent files
serena/
.beads/
AGENTS.md
# Generated benchmark output
packages/vipeye-internal/src/tests/benchmarks/.generated/
# 测试运行生成的产物(每次跑 jest 都会被重写,不入库)
packages/vipeye-internal/src/tests/__ty_narrow_dump.txt
packages/vipeye-internal/src/tests/__unary_ptr__/
packages/vipeye-internal/src/tests/__global_redeclare__/
packages/vipeye-internal/src/tests/__viper_attribute__/
packages/vipeye-internal/src/tests/__viper_attribute_completion__/
packages/vipeye-internal/src/tests/__viper_attribute_hover__/
packages/vipeye-internal/src/tests/__viper_attribute_prefix__/
packages/vipeye-internal/src/tests/__viper_attribute_noimport__/
packages/vipeye-internal/src/tests/__viper_attribute_implicit_scope__/
packages/vipeye-internal/src/tests/__viper_attribute_unknown__/
packages/vipeye-internal/src/tests/__viper_ptr_unary__/
packages/vipeye-internal/src/tests/__viper_ptr_convert__/
packages/vipeye-internal/src/tests/__viper_ptr_hierarchy__/
packages/vipeye-internal/src/tests/__viper_vtable_assign_ok__/
packages/vipeye-internal/src/tests/__viper_vtable_assign_bad__/
packages/vipeye-internal/src/tests/__viper_vtable_assign_plain__/
packages/vipeye-internal/src/tests/__viper_volatile__/
packages/vipeye-internal/src/tests/__viper_volatile_bad__/
packages/vipeye-internal/src/tests/__viper_callable__/
packages/vipeye-internal/src/tests/__viper_static__/
packages/vipeye-internal/src/tests/__viper_bracket_array_expr__/
packages/vipeye-internal/src/tests/__viper_type_binop_bound__/
packages/vipeye-internal/src/tests/__viper_const_ptr_deref__/
packages/vipeye-internal/src/tests/__viper_const_ptr_index__/
packages/vipeye-internal/src/tests/__viper_const_ptr_iter__/
packages/vipeye-internal/src/tests/__viper_variadic_noimport__/
packages/vipeye-internal/src/tests/__viper_carray_element__/
packages/vipeye-internal/src/tests/__viper_bracket_array_no_import_t__/
packages/vipeye-internal/src/tests/__viper_export_extern__/
packages/vipeye-internal/src/tests/__viper_renum_pointer__/
packages/vipeye-internal/src/tests/__viper_renum_pointer_matrix__/
packages/vipeye-internal/src/tests/__viper_generic_bound__/
packages/vipeye-internal/src/tests/__viper_generic_bound_none__/
packages/vipeye-internal/src/tests/__viper_match_break_fallthrough__/
packages/vipeye-internal/src/tests/__viper_match_break_fallthrough_neg__/
# perfCompare.py cached commit bundles
/build/perfCompare/
*.vsix