MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / ref

Function ref

javascript/selenium-webdriver/normalize_bidi_ast_test.mjs:30–30  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

28
29const lit = (v) => ({ Type: 'literal', Value: v, Unwrapped: false })
30const ref = (v) => ({ Type: 'group', Value: v, Unwrapped: false })
31const field = (name, type) => ({ Name: name, Occurrence: { n: 1, m: 1 }, Type: type, Comments: [] })
32const def = (name, props) => ({ Type: 'group', Name: name, Properties: props, IsChoiceAddition: false, Comments: [] })
33const byName = (ast, n) => ast.find((d) => d.Name === n)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected