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

Function recAst

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

Source from the content-addressed store, hash-verified

344
345describe('unionSelector', () => {
346 const recAst = (name, typeConst, extra = []) => ({
347 Type: 'group',
348 Name: name,
349 IsChoiceAddition: false,
350 Comments: [],
351 Properties: [{ Name: 'type', Occurrence: { n: 1, m: 1 }, Type: [lit(typeConst)], Comments: [] }, ...extra],
352 })
353 const union = (name, refs) => ({
354 Type: 'variable',
355 Name: name,

Callers 1

Calls 1

litFunction · 0.70

Tested by

no test coverage detected