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

Function lit

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

Source from the content-addressed store, hash-verified

23import { projectSchema, checkSchema, checkCompleteness } from './project_bidi_schema.mjs'
24
25const lit = (v) => ({ Type: 'literal', Value: v, Unwrapped: false })
26const ref = (v) => ({ Type: 'group', Value: v, Unwrapped: false })
27const field = (name, type, occ = { n: 1, m: 1 }) => ({ Name: name, Occurrence: occ, Type: type, Comments: [] })
28const group = (name, props) => ({ Type: 'group', Name: name, Properties: props, IsChoiceAddition: false, Comments: [] })

Callers 3

leafFunction · 0.70
recAstFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected