import { SameLine as _ } from "../../../peg-whitespace" import { RestOfLine } from "../primitives" RootScan = devices:ScanDevice* { return { devices: devices }; } ScanDevice 'scanned device' = path:$[^ ]+ _ "-d" _ interface_:$[^ ]+ _ RestOfLine { return { path: path, interface: interface_ }; }