class

Analyzer::Javascript::ExpoRouter

Inherits Analyzer::Javascript::Nextjs < Analyzer::Javascript::JavascriptEngine < Analyzer < FileHelper < Reference < Object

Expo Router API routes: +api modules under app/ (or src/app/) export Web Request handlers named for their verb, exactly like a Next.js app-router route.ts, so this rides the Next.js handler reader.

app/api/users+api.ts → /api/users app/api/users/[id]+api.ts → /api/users/{id} app/(tabs)/api/index+api.ts → /api

Every other module under app/ is a client screen and adds nothing.

Constants

API_MODULE = /\+api\.[jt]sx?$/

Class methods

tech_name
Source

Instance methods

analyze
Source
tech

Instance-side view of the same declaration. The per-file rescues live on this base class, which has no way to name the analyzer that is running inside them, so a skipped file could not be attributed to a tech. Deriving it from analyzer_for keeps the name written exactly once.

Source