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

Function recAst

javascript/selenium-webdriver/project_bidi_schema_test.mjs:236–242  ·  view source on GitHub ↗
(name, typeConst, extra = [])

Source from the content-addressed store, hash-verified

234
235describe('unionSelector', () => {
236 const recAst = (name, typeConst, extra = []) => ({
237 Type: 'group',
238 Name: name,
239 IsChoiceAddition: false,
240 Comments: [],
241 Properties: [{ Name: 'type', Occurrence: { n: 1, m: 1 }, Type: [lit(typeConst)], Comments: [] }, ...extra],
242 })
243 const union = (name, refs) => ({
244 Type: 'variable',
245 Name: name,

Callers 1

Calls 1

litFunction · 0.70

Tested by

no test coverage detected