25 matches across 1 files for func main path:packages/compiler-sfc/src/babelUtils.ts
snippet_mode: auto · sorted by relevance
packages/compiler-sfc/src/babelUtils.ts TYPESCRIPT 25 matches · showing 5 view file →
1// https://github.com/vuejs/core/blob/main/packages/compiler-core/src/babelUtils.ts
2
3// should only use types from @babel/types
· · ·
6 Identifier,
7 Node,
8 Function,
9 ObjectProperty,
10 BlockStatement,
· · ·
13import { walk } from 'estree-walker'
14
15export function walkIdentifiers(
16 root: Node,
17 onIdentifier: (
· · ·
60 // mark property in destructure pattern
61 ;(node as any).inPattern = true
62 } else if (isFunctionType(node)) {
63 // walk function expressions and add its arguments to known identifiers
64 // so that we don't prefix them
· · ·
63 // walk function expressions and add its arguments to known identifiers
64 // so that we don't prefix them
65 walkFunctionParams(node, id => markScopeIdentifier(node, id, knownIds))
+ 20 more matches in this file
Search syntax
auth loginboth terms (AND is implicit)
auth OR logineither term
NOT path:vendorexclude matches
"exact phrase"quoted exact match
/func\s+Test/regex
handler~1fuzzy (Levenshtein 1)
file:*_test.gofilename glob
path:pkg/auth/**full path glob
lang:golanguage filter

Search any public repo from your terminal

This page calls POST /api/v1/code_search. Same tool, available over MCP for Claude/Cursor/Copilot.